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.

69 lines
1.8 KiB

1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using Volo.Abp.Domain.Entities.Auditing;
  8. using Volo.Abp.Domain.Entities;
  9. using System.ComponentModel.DataAnnotations;
  10. namespace Shentun.WebPeis.Models
  11. {
  12. /// <summary>
  13. /// 第三方接口表
  14. /// </summary>
  15. [Table("third_interface")]
  16. public class ThirdInterface : AuditedEntity, IHasConcurrencyStamp, IDisplayOrder
  17. {
  18. public ThirdInterface() { }
  19. public ThirdInterface(Guid id)
  20. {
  21. ThirdInterfaceId = id;
  22. }
  23. public Guid ThirdInterfaceId { get; set; }
  24. /// <summary>
  25. /// 名称
  26. /// </summary>
  27. [Column("third_interface_name")]
  28. [StringLength(30)]
  29. public string ThirdInterfaceName { get; set; }
  30. /// <summary>
  31. /// 接口类型
  32. /// </summary>
  33. [Column("third_interface_type")]
  34. [StringLength(2)]
  35. public string ThirdInterfaceType { get; set; }
  36. /// <summary>
  37. /// 配置参数
  38. /// </summary>
  39. [Column("parm_value")]
  40. [StringLength(2000)]
  41. public string ParmValue { get; set; }
  42. /// <summary>
  43. /// 体检中心ID
  44. /// </summary>
  45. [Column("medical_center_id")]
  46. public Guid MedicalCenterId { get; set; }
  47. /// <summary>
  48. /// 是否启用
  49. /// </summary>
  50. [Column("is_active")]
  51. [StringLength(1)]
  52. public char IsActive { get; set; }
  53. [Column("display_order")]
  54. public int DisplayOrder { get; set; }
  55. [Column("concurrency_stamp")]
  56. public string ConcurrencyStamp { get; set; }
  57. public override object?[] GetKeys()
  58. {
  59. return [ThirdInterfaceId];
  60. }
  61. }
  62. }