PatFullInsuInfo.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using PTMIBase.Extensions.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. namespace PTMIBase.Entity.MIDatatable
  6. {
  7. class PatFullInsuInfo
  8. {
  9. /// <summary>
  10. /// 医院编号 指向医院表
  11. /// </summary>
  12. [IrisColumn(Name = "HospitalDr", Desc = "医院编号", DbType = "Int", SqlFieldName = "Hospital_Dr", Order = 2, CanBeNull = false)]
  13. [Required(ErrorMessage = "医院编号不能为空")]
  14. public int HospitalDr { get; set; }
  15. /// <summary>
  16. /// 接口编号 指向接口表
  17. /// </summary>
  18. [IrisColumn(Name = "InterfaceDr", Desc = "接口编号", DbType = "Int", SqlFieldName = "Interface_Dr", Order = 3, CanBeNull = false)]
  19. [Required(ErrorMessage = "接口编号不能为空")]
  20. public int InterfaceDr { get; set; }
  21. /// <summary>
  22. /// 患者医院ID
  23. /// </summary>
  24. [IrisColumn(Name = "AdmID", Desc = "患者医院ID", DbType = "Varchar(50)", SqlFieldName = "AdmID", Order = 4, CanBeNull = false)]
  25. [Required(ErrorMessage = "患者医院ID不能为空")]
  26. [StringLength(50, ErrorMessage = "患者医院ID长度不能超过50个字符")]
  27. public string AdmID { get; set; }
  28. /// <summary>
  29. /// 发生时间
  30. /// </summary>
  31. [IrisColumn(Name = "OccurTime", Desc = "发生时间", DbType = "DateTime", SqlFieldName = "OccurTime", Order = 5, CanBeNull = false)]
  32. [Required(ErrorMessage = "发生时间不能为空")]
  33. public DateTime OccurTime { get; set; }
  34. /// <summary>
  35. /// 中心返回的患者全部参保信息
  36. /// </summary>
  37. [IrisColumn(Name = "FullInfo", Desc = "中心返回的患者全部参保信息", DbType = "Text", SqlFieldName = "FullInfo", Order = 6, CanBeNull = true)]
  38. public string FullInfo { get; set; }
  39. }
  40. }