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.

61 lines
1.9 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using Volo.Abp.Domain.Entities;
  5. using Volo.Abp.Domain.Entities.Auditing;
  6. namespace Shentun.Peis.Models
  7. {
  8. /// <summary>
  9. /// 体检中心组和项目指引内容
  10. /// </summary>
  11. [Table("asbitem_guide")]
  12. public class AsbitemGuide : AuditedEntity, IHasConcurrencyStamp
  13. {
  14. /// <summary>
  15. /// 体检中心ID
  16. /// </summary>
  17. [Key]
  18. [Column("medical_center_id")]
  19. public Guid MedicalCenterId { get; set; }
  20. /// <summary>
  21. /// 组合项目ID
  22. /// </summary>
  23. [Key]
  24. [Column("asbitem_id")]
  25. public Guid AsbitemId { get; set; }
  26. /// <summary>
  27. /// 适用性别ID
  28. /// </summary>
  29. [Key]
  30. [Column("for_sex_id")]
  31. [MaxLength(1)]
  32. public char ForSexId { get; set; }
  33. /// <summary>
  34. /// 指引单内容
  35. /// </summary>
  36. [Column("guide")]
  37. [StringLength(50)]
  38. public string Guide { get; set; } = null!;
  39. [Column("concurrency_stamp")]
  40. public string ConcurrencyStamp { get; set; }
  41. public override object[] GetKeys()
  42. {
  43. return new object[] { MedicalCenterId, AsbitemId, ForSexId };
  44. }
  45. //[Column("last_modifier_id")]
  46. //public Guid LastModifierId { get; set; }
  47. //[Column("last_modification_time", TypeName = "timestamp without time zone")]
  48. //public DateTime LastModificationTime { get; set; }
  49. //[Column("creator_id")]
  50. //public Guid CreatorId { get; set; }
  51. //[Column("creation_time", TypeName = "timestamp without time zone")]
  52. //public DateTime CreationTime { get; set; }
  53. //[Column("concurrency_stamp")]
  54. //[StringLength(40)]
  55. //public string ConcurrencyStamp { get; set; } = null!;
  56. }
  57. }