irc-netcore-api/IRaCIS.Core.Domain/Trial/DataInspection.cs

101 lines
2.6 KiB
C#

//--------------------------------------------------------------------
// 生成时间 2022-03-21 17:13:43
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("稽查 - 记录表")]
[Table("DataInspection")]
public class DataInspection : BaseAddAuditEntity
{
#region 导航属性
[JsonIgnore]
[ForeignKey("TrialReadingCriterionId")]
public ReadingQuestionCriterionTrial TrialReadingCriterion { get; set; }
[JsonIgnore]
public VisitTask VisitTask { get; set; }
#endregion
[Comment(" 批次Id")]
public Guid BatchId { get; set; }
[Comment(" 子类")]
public Guid? ChildrenTypeId { get; set; }
[Comment(" 创建人姓名")]
public string CreateUserName { get; set; } = null!;
public string CreateUserRealName { get; set; } = null!;
[Comment(" 阅片医生")]
public Guid? DoctorUserId { get; set; }
[Comment(" 被稽查实体名")]
public string EntityName { get; set; } = null!;
[Comment(" 要稽查对象Id")]
public Guid? GeneralId { get; set; }
[Comment(" 标识")]
public string Identification { get; set; } = null!;
public string IP { get; set; } = null!;
[Comment(" 是否是前端添加")]
public bool? IsFrontAdd { get; set; }
public bool? IsSign { get; set; }
[MaxLength]
public string? JsonDetail { get; set; }
[Comment(" 上一条json")]
[MaxLength]
public string? LastJsonDetail { get; set; }
public Guid? ModuleTypeId { get; set; }
[Comment(" 被稽查对象外键1")]
public Guid? ObjectRelationParentId { get; set; }
public Guid? ObjectRelationParentId2 { get; set; }
public Guid? ObjectRelationParentId3 { get; set; }
public Guid? ObjectTypeId { get; set; }
public Guid? OptTypeId { get; set; }
[Comment(" 父ID")]
public Guid? ParentId { get; set; }
public string Reason { get; set; } = null!;
[Comment(" 角色名称")]
public string RoleName { get; set; } = null!;
public Guid? SignId { get; set; }
public Guid? SubjectId { get; set; }
public Guid? SubjectVisitId { get; set; }
public Guid? TrialId { get; set; }
public Guid? TrialReadingCriterionId { get; set; }
public Guid? TrialSiteId { get; set; }
[Comment(" 访视计划ID")]
public Guid? VisitStageId { get; set; }
public Guid? VisitTaskId { get; set; }
}