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

24 lines
594 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
[Table("DoctorDictionary")]
public partial class DoctorDictionary : Entity
{
[ForeignKey("DoctorId")]
public Doctor Doctor { get; set; }
[ForeignKey("DictionaryId")]
public Dictionary Dictionary { get; set; }
[StringLength(50)]
public string KeyName { get; set; } = string.Empty;
public Guid DoctorId { get; set; }
public Guid DictionaryId { get; set; }
}
}