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.

27 lines
898 B

8 months ago
  1. using Mirle.Component.Database.Model.WES;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.Text.Json.Serialization;
  5. namespace Mirle.Component.Database.Model
  6. {
  7. /// <summary>
  8. /// 使用者與群組基本資料類別
  9. /// </summary>
  10. [Table("MAP_USER_AND_GROUP")]
  11. public class MapUserAndGroupDto : CommonDto
  12. {
  13. /// <summary>
  14. /// 使用者帳號
  15. /// </summary>
  16. [Column(Name = "USER_ID")]
  17. [Required, Key, StringLength(30), JsonPropertyName("USER_ID"), JsonPropertyOrder(1)]
  18. public string USER_ID { get; set; }
  19. /// <summary>
  20. /// 群組名稱
  21. /// </summary>
  22. [Column(Name = "GROUP_NAME")]
  23. [Required, Key, StringLength(50), JsonPropertyName("GROUP_NAME"), JsonPropertyOrder(2)]
  24. public string GROUP_NAME { get; set; }
  25. }
  26. }