irc-netcore-api/IRaCIS.Core.Domain/Dcotor/DoctorDictionary.cs

24 lines
521 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; }
[StringLength(400)]
public string KeyName { get; set; } = null!;
}