+35
-27
@@ -1,39 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("系统标准 - 全局配置 (需要同步)")]
|
||||
[Table("ReadingSystemCriterionDictionary")]
|
||||
public class ReadingSystemCriterionDictionary : BaseAddAuditEntity
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
#region 导航属性
|
||||
///<summary>
|
||||
///ReadingCriterionDictionary
|
||||
///</summary>
|
||||
[Table("ReadingSystemCriterionDictionary")]
|
||||
public class ReadingSystemCriterionDictionary : BaseAddAuditEntity
|
||||
{
|
||||
#region µ¼º½ÊôÐÔ
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("DictionaryId")]
|
||||
public Dictionary Dictionary { get; set; }
|
||||
#endregion
|
||||
public Guid CriterionId { get; set; }
|
||||
[Comment("标准字典分组")]
|
||||
public CrterionDictionaryGroup CrterionDictionaryGroup { get; set; } = CrterionDictionaryGroup.General;
|
||||
[JsonIgnore]
|
||||
[ForeignKey("DictionaryId")]
|
||||
public Dictionary Dictionary { get; set; }
|
||||
#endregion
|
||||
public Guid CriterionId { get; set; }
|
||||
|
||||
public Guid DictionaryId { get; set; }
|
||||
|
||||
public bool IsBaseLineUse { get; set; }
|
||||
public Guid DictionaryId { get; set; }
|
||||
|
||||
public bool IsFollowVisitUse { get; set; }
|
||||
|
||||
public bool IsSystemCriterion { get; set; }
|
||||
|
||||
public string ParentCode { get; set; } = null!;
|
||||
|
||||
public bool IsSystemCriterion { get; set; } = false;
|
||||
|
||||
public string ParentCode { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public bool IsBaseLineUse { get; set; } = false;
|
||||
|
||||
|
||||
public bool IsFollowVisitUse { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// ±ê×¼×Öµä·Ö×é
|
||||
/// </summary>
|
||||
public CrterionDictionaryGroup CrterionDictionaryGroup { get; set; } = CrterionDictionaryGroup.General;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user