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.

38 lines
1.2 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_SYSTEM_SETTING")]
  10. public class CfgSystemSettingDto
  11. {
  12. /// <summary>
  13. /// 功能編號
  14. /// </summary>
  15. [Column(Name = "FUNC_ID")]
  16. [Required, Key, JsonPropertyName("FUNC_ID"), JsonPropertyOrder(1)]
  17. public int FUNC_ID { get; set; }
  18. /// <summary>
  19. /// 功能定義
  20. /// </summary>
  21. [Column(Name = "CFG_KEY")]
  22. [Required, Key, StringLength(30), JsonPropertyName("CFG_KEY"), JsonPropertyOrder(2)]
  23. public string CFG_KEY { get; set; }
  24. /// <summary>
  25. /// 功能名稱
  26. /// </summary>
  27. [Column(Name = "CFG_NAME")]
  28. [StringLength(50), JsonPropertyName("CFG_NAME"), JsonPropertyOrder(3)]
  29. public string CFG_NAME { get; set; }
  30. /// <summary>
  31. /// 閥值
  32. /// </summary>
  33. [Column(Name = "CFG_VALUE")]
  34. [Required, StringLength(10), JsonPropertyName("CFG_VALUE"), JsonPropertyOrder(4)]
  35. public string CFG_VALUE { get; set; }
  36. }
  37. }