Files
irc-netcore-api/IRaCIS.Core.Domain/Dcotor/DoctorDictionary.cs
T
hang 1da4fbe23b
continuous-integration/drone/push Build is passing
实体标注,修改默认长度
2024-09-24 17:57:45 +08:00

24 lines
501 B
C#

namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 医生字典关联表")]
[Table("DoctorDictionary")]
public class DoctorDictionary : Entity
{
#region 导航属性
[JsonIgnore]
[ForeignKey("DoctorId")]
public Doctor Doctor { get; set; }
[JsonIgnore]
[ForeignKey("DictionaryId")]
public Dictionary Dictionary { get; set; }
#endregion
public Guid DictionaryId { get; set; }
public Guid DoctorId { get; set; }
public string KeyName { get; set; } = null!;
}