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.

35 lines
1.1 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.Warroom.Config
  5. {
  6. /// <summary>
  7. /// 功能基本資料類別
  8. /// </summary>
  9. [Table("cfg_func")]
  10. public class CfgFuncDto : CommonDto
  11. {
  12. /// <summary>
  13. /// 功能識別碼
  14. /// </summary>
  15. [Column(Name = "func_uid"), JsonPropertyName("func_id")]
  16. [Required, Key]
  17. public int FunctionUID { get; set; }
  18. /// <summary>
  19. /// 功能名稱
  20. /// </summary>
  21. [Column(Name = "func_name"), JsonPropertyName("func_name")]
  22. public string FunctionName { get; set; }
  23. /// <summary>
  24. /// 功能網址
  25. /// </summary>
  26. [Column(Name = "func_url"), JsonPropertyName("func_url")]
  27. public string FunctionURL { get; set; }
  28. /// <summary>
  29. /// 功能父類別編號
  30. /// </summary>
  31. [Column(Name = "parent_func_id"), JsonPropertyName("parent_func_id")]
  32. public int ParentFunctionID { get; set; }
  33. }
  34. }