平安校园
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
1.2 KiB

  1. namespace SafeCampus.System;
  2. /// <summary>
  3. /// 配置
  4. ///</summary>
  5. [SugarTable("sys_config", TableDescription = "配置")]
  6. [Tenant(SqlSugarConst.DB_DEFAULT)]
  7. [IgnoreInitTable]
  8. public class SysConfig : BaseEntity
  9. {
  10. /// <summary>
  11. /// 配置键
  12. ///</summary>
  13. [SugarColumn(ColumnName = "ConfigKey", ColumnDescription = "配置键", Length = 200)]
  14. public virtual string ConfigKey { get; set; }
  15. /// <summary>
  16. /// 配置值
  17. ///</summary>
  18. [SugarColumn(ColumnName = "ConfigValue", ColumnDescription = "配置值", ColumnDataType = StaticConfig.CodeFirst_BigString)]
  19. public virtual string ConfigValue { get; set; }
  20. /// <summary>
  21. /// 分类
  22. ///</summary>
  23. [SugarColumn(ColumnName = "Category", ColumnDescription = "分类", Length = 200)]
  24. public string Category { get; set; }
  25. /// <summary>
  26. /// 备注
  27. ///</summary>
  28. [SugarColumn(ColumnName = "Remark", ColumnDescription = "备注", Length = 200, IsNullable = true)]
  29. public string Remark { get; set; }
  30. /// <summary>
  31. /// 排序码
  32. ///</summary>
  33. [SugarColumn(ColumnName = "SortCode", ColumnDescription = "排序码", IsNullable = true)]
  34. public int SortCode { get; set; }
  35. }