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.

32 lines
1.0 KiB

8 months ago
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using System.Text.Json.Serialization;
  4. namespace Mirle.Component.Database.Model.WES
  5. {
  6. /// <summary>
  7. /// 群組基本資料類別
  8. /// </summary>
  9. [Table("CFG_GROUP")]
  10. public class CfgGroupDto : CommonDto
  11. {
  12. /// <summary>
  13. /// 群組名稱
  14. /// </summary>
  15. [Column(Name = "GROUP_NAME")]
  16. [Required, StringLength(50), JsonPropertyName("GROUP_NAME"), JsonPropertyOrder(1)]
  17. public string GROUP_NAME { get; set; }
  18. /// <summary>
  19. /// 群組郵件
  20. /// </summary>
  21. [Column(Name = "GROUP_EMAIL")]
  22. [StringLength(64), JsonPropertyName("GROUP_EMAIL"), JsonPropertyOrder(2)]
  23. public string GROUP_EMAIL { get; set; }
  24. /// <summary>
  25. /// 群組擁有者
  26. /// </summary>
  27. [Column(Name = "GROUP_OWNER")]
  28. [StringLength(30), JsonPropertyName("GROUP_OWNER"), JsonPropertyOrder(3)]
  29. public string GROUP_OWNER { get; set; }
  30. }
  31. }