using ATS.NonCustodial.Domain.Shared.AggRootEntities; using ATS.NonCustodial.Domain.Shared.Constants; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ATS.NonCustodial.Domain.Entities.Business.CaseManagements { /// /// 案件-监管人管理 /// /// Author:mxg /// CreatedTimed:2022-06-03 10:29 PM [Table("app_case_supervisor")] [Index(nameof(CaseId), nameof(SupervisorId))] public class AppCaseSupervisor : EntityAdd { public AppCaseSupervisor() { } public AppCaseSupervisor(long id) { Id = id; } /// /// 案件Id /// public long CaseId { get; set; } /// /// 案件-监管人员管理员 /// public long SupervisorId { get; set; } /// /// 案件-监管人员管理员名字 /// [MaxLength(StringLengthConstants.StringLength20)] public string? SupervisorName { get; set; } public long UnitId { get; set; } } }