You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;using Volo.Abp.Domain.Entities;using Volo.Abp.Domain.Entities.Auditing;
namespace Shentun.Peis.Models{ /// <summary>
/// 体检中心组和项目指引内容
/// </summary>
[Table("asbitem_guide")] public class AsbitemGuide : AuditedEntity, IHasConcurrencyStamp { /// <summary>
/// 体检中心ID
/// </summary>
[Key] [Column("medical_center_id")] public Guid MedicalCenterId { get; set; } /// <summary>
/// 组合项目ID
/// </summary>
[Key] [Column("asbitem_id")] public Guid AsbitemId { get; set; } /// <summary>
/// 适用性别ID
/// </summary>
[Key] [Column("for_sex_id")] [MaxLength(1)] public char ForSexId { get; set; } /// <summary>
/// 指引单内容
/// </summary>
[Column("guide")] [StringLength(50)] public string Guide { get; set; } = null!;
[Column("concurrency_stamp")] public string ConcurrencyStamp { get; set; }
public override object[] GetKeys() { return new object[] { MedicalCenterId, AsbitemId, ForSexId }; }
//[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!;
}}
|