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

27 lines
600 B
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
/// <summary>
/// 用户与医生管理关联关系表 - 实体
/// </summary>
[Table("UserDoctor")]
public partial class UserDoctor : Entity
{
#region 导航属性
[JsonIgnore]
public Doctor Doctor { get; set; }
[JsonIgnore]
public User User { get; set; }
#endregion
[ForeignKey("User")]
public Guid UserId { get; set; }
[ForeignKey("Doctor")]
public Guid DoctorId { get; set; }
}
}