SysConfig.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. namespace ZR.Model.System
  2. {
  3. /// <summary>
  4. /// 参数配置,数据实体对象
  5. ///
  6. /// @author mr.zhao
  7. /// @date 2021-09-29
  8. /// </summary>
  9. [SugarTable("sys_config", "配置表")]
  10. [Tenant("0")]
  11. public class SysConfig : SysBase, IMainDbEntity
  12. {
  13. /// <summary>
  14. /// 配置id
  15. /// </summary>
  16. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  17. public int ConfigId { get; set; }
  18. /// <summary>
  19. /// 参数名称
  20. /// </summary>
  21. [SugarColumn(Length = 100)]
  22. public string ConfigName { get; set; }
  23. /// <summary>
  24. /// 参数键名
  25. /// </summary>
  26. [SugarColumn(Length = 100)]
  27. public string ConfigKey { get; set; }
  28. /// <summary>
  29. /// 参数键值
  30. /// </summary>
  31. [SugarColumn(Length = 500)]
  32. public string ConfigValue { get; set; }
  33. /// <summary>
  34. /// 系统内置(Y是 N否)
  35. /// </summary>
  36. [SugarColumn(Length = 1)]
  37. public string ConfigType { get; set; }
  38. }
  39. }