This commit is contained in:
he
2023-04-25 17:16:17 +08:00
parent 1f04bdb57a
commit 19ebce1c98
16 changed files with 49 additions and 49 deletions
@@ -0,0 +1,72 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using IRaCIS.Core.Domain.Share;
using Newtonsoft.Json;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///ReadingCriterionDictionary
///</summary>
[Table("ReadingSystemCriterionDictionary")]
public class ReadingSystemCriterionDictionary : Entity, IAuditAdd
{
/// <summary>
/// CriterionId
/// </summary>
public Guid CriterionId { get; set; }
/// <summary>
/// DictionaryId
/// </summary>
public Guid DictionaryId { get; set; }
/// <summary>
/// CreateTime
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// IsSystemCriterion
/// </summary>
public bool IsSystemCriterion { get; set; } = false;
/// <summary>
/// ParentCode
/// </summary>
public string ParentCode { get; set; } = string.Empty;
/// <summary>
/// CreateUserId
/// </summary>
public Guid CreateUserId { get; set; }
/// <summary>
/// IsBaseLineUse
/// </summary>
public bool IsBaseLineUse { get; set; } = false;
/// <summary>
/// IsBaseUse
/// </summary>
public bool IsFollowVisitUse { get; set; } = false;
/// <summary>
/// ±ê×¼×Öµä·Ö×é
/// </summary>
public CrterionDictionaryGroup CrterionDictionaryGroup { get; set; } = CrterionDictionaryGroup.General;
[JsonIgnore]
[ForeignKey("DictionaryId")]
public Dictionary Dictionary { get; set; }
}
}