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.

56 lines
1.3 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Volo.Abp.Domain.Entities;
  9. using Volo.Abp.Domain.Entities.Auditing;
  10. namespace Shentun.Peis.Models
  11. {
  12. /// <summary>
  13. /// 弃检模板
  14. /// </summary>
  15. [Table("give_up_check_template")]
  16. public class GiveUpCheckTemplate : AuditedEntity<Guid>, IHasConcurrencyStamp
  17. {
  18. public GiveUpCheckTemplate() { }
  19. public GiveUpCheckTemplate(Guid id) : base(id)
  20. {
  21. }
  22. /// <summary>
  23. /// 模板名称
  24. /// </summary>
  25. [Column("display_name")]
  26. [StringLength(100)]
  27. public string DisplayName { get; set; }
  28. /// <summary>
  29. /// 模板路径
  30. /// </summary>
  31. [Column("informed_consent_template_file")]
  32. [StringLength(200)]
  33. public string InformedConsentTemplateFile { get; set; }
  34. /// <summary>
  35. /// 是否启用 只能启用一个
  36. /// </summary>
  37. [Column("is_active")]
  38. [MaxLength(1)]
  39. public char IsActive { get; set; }
  40. [Column("concurrency_stamp")]
  41. public string ConcurrencyStamp { get; set; }
  42. }
  43. }