|
|
|
@ -27,20 +27,33 @@ namespace Shentun.Peis.Models |
|
|
|
/// 项目类别编号
|
|
|
|
/// </summary>
|
|
|
|
[Column("item_type_id")] |
|
|
|
//[StringLength(4)]
|
|
|
|
public Guid ItemTypeId { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///
|
|
|
|
/// 体检中心ID
|
|
|
|
/// </summary>
|
|
|
|
[Column("department_id")] |
|
|
|
//[StringLength(4)]
|
|
|
|
public Guid OrganizationUnitId { get; set; } |
|
|
|
[Column("medical_center_id")] |
|
|
|
public Guid MedicalCenterId { get; set; } |
|
|
|
|
|
|
|
[Column("for_sex_id")] |
|
|
|
[MaxLength(1)] |
|
|
|
public char ForSexId { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 0-普通,1-抽血室
|
|
|
|
/// </summary>
|
|
|
|
[Column("room_type_flag")] |
|
|
|
[MaxLength(1)] |
|
|
|
public char RoomTypeFlag { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 候诊时间
|
|
|
|
/// </summary>
|
|
|
|
[Column("queue_time")] |
|
|
|
[Precision(3, 1)] |
|
|
|
public decimal QueueTime { get; set; } |
|
|
|
|
|
|
|
[Column("is_active")] |
|
|
|
[MaxLength(1)] |
|
|
|
public char IsActive { get; set; } |
|
|
|
@ -53,21 +66,6 @@ namespace Shentun.Peis.Models |
|
|
|
[Column("concurrency_stamp")] |
|
|
|
public string ConcurrencyStamp { get; set; } |
|
|
|
|
|
|
|
//[Column("last_modifier_id")]
|
|
|
|
//public Guid LastModifierId { get; set; }
|
|
|
|
//[Column("last_modification_time", TypeName = "timestamp without time zone")]
|
|
|
|
//public DateTime LastModificationTime { get; set; }
|
|
|
|
//[Column("creator_id")]
|
|
|
|
//public Guid CreatorId { get; set; }
|
|
|
|
//[Column("creation_time", TypeName = "timestamp without time zone")]
|
|
|
|
//public DateTime CreationTime { get; set; }
|
|
|
|
//[Column("concurrency_stamp")]
|
|
|
|
//[StringLength(40)]
|
|
|
|
//public string ConcurrencyStamp { get; set; } = null!;
|
|
|
|
|
|
|
|
[ForeignKey(nameof(OrganizationUnitId))] |
|
|
|
[InverseProperty("Rooms")] |
|
|
|
public virtual Department Department { get; set; } = null!; |
|
|
|
[ForeignKey(nameof(ItemTypeId))] |
|
|
|
[InverseProperty("Rooms")] |
|
|
|
public virtual ItemType ItemType { get; set; } = null!; |
|
|
|
@ -76,9 +74,6 @@ namespace Shentun.Peis.Models |
|
|
|
[InverseProperty(nameof(Asbitem.Rooms))] |
|
|
|
public virtual ICollection<Asbitem> Asbitems { get; set; } |
|
|
|
|
|
|
|
//public override object[] GetKeys()
|
|
|
|
//{
|
|
|
|
// return new object[] { RoomId };
|
|
|
|
//}
|
|
|
|
|
|
|
|
} |
|
|
|
} |