You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
|
3 months ago
|
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
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 案件-监管人管理
|
||
|
|
/// </summary>
|
||
|
|
/// 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;
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 案件Id
|
||
|
|
/// </summary>
|
||
|
|
public long CaseId { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 案件-监管人员管理员
|
||
|
|
/// </summary>
|
||
|
|
public long SupervisorId { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 案件-监管人员管理员名字
|
||
|
|
/// </summary>
|
||
|
|
[MaxLength(StringLengthConstants.StringLength20)]
|
||
|
|
public string? SupervisorName { get; set; }
|
||
|
|
}
|
||
|
|
}
|