SysParam.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. namespace Model
  2. {
  3. /// <summary>
  4. /// 第三方平台设置 sys_param
  5. /// </summary>
  6. [SugarTable("sys_param", "第三方平台设置")]
  7. [Tenant("0")]
  8. public class SysParam
  9. {
  10. /// <summary>
  11. /// Id
  12. /// </summary>
  13. [SugarColumn(ColumnDescription = "Id", ColumnName = "id")]
  14. public int Id { get; set; }
  15. /// <summary>
  16. /// 自动缩略图质量
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "自动缩略图质量", ColumnName = "upload_auto_zoom_quality")]
  19. public int UploadAutoZoomQuality { get; set; }
  20. /// <summary>
  21. /// 是否上传到OSS
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "是否上传到OSS", ColumnName = "upload_oss")]
  24. public bool UploadOss { get; set; }
  25. /// <summary>
  26. /// Logo图片
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "Logo图片", Length = 200, ColumnName = "logo")]
  29. public string Logo { get; set; }
  30. /// <summary>
  31. /// 网站统计代码
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "网站统计代码", ColumnName = "web_stat_code")]
  34. public string WebStatCode { get; set; }
  35. /// <summary>
  36. /// 联系电话
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "联系电话", Length = 100, ColumnName = "phone")]
  39. public string Phone { get; set; }
  40. /// <summary>
  41. /// 企业地址
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "企业地址", Length = 100, ColumnName = "address")]
  44. public string Address { get; set; }
  45. /// <summary>
  46. /// 版权信息
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "版权信息", ColumnName = "right_info")]
  49. public string RightInfo { get; set; }
  50. /// <summary>
  51. /// 水印图片
  52. /// </summary>
  53. [SugarColumn(ColumnDescription = "水印图片", Length = 200, ColumnName = "upload_water_path")]
  54. public string UploadWaterPath { get; set; }
  55. /// <summary>
  56. /// 水印位置
  57. /// </summary>
  58. [SugarColumn(ColumnDescription = "水印位置", Length = 15, ColumnName = "upload_water_position")]
  59. public string UploadWaterPosition { get; set; }
  60. /// <summary>
  61. /// 自动水印
  62. /// </summary>
  63. [SugarColumn(ColumnDescription = "自动水印", ColumnName = "upload_auto_water")]
  64. public bool UploadAutoWater { get; set; }
  65. /// <summary>
  66. /// 自动缩略图高
  67. /// </summary>
  68. [SugarColumn(ColumnDescription = "自动缩略图高", ColumnName = "upload_auto_zoom_height")]
  69. public int UploadAutoZoomHeight { get; set; }
  70. /// <summary>
  71. /// 自动缩略图宽
  72. /// </summary>
  73. [SugarColumn(ColumnDescription = "自动缩略图宽", ColumnName = "upload_auto_zoom_width")]
  74. public int UploadAutoZoomWidth { get; set; }
  75. /// <summary>
  76. /// 自动缩略图
  77. /// </summary>
  78. [SugarColumn(ColumnDescription = "自动缩略图", ColumnName = "upload_auto_zoom_")]
  79. public bool UploadAutoZoom { get; set; }
  80. /// <summary>
  81. /// 允许最大上传
  82. /// </summary>
  83. [SugarColumn(ColumnDescription = "允许最大上传", ColumnName = "upload_max_size")]
  84. public int UploadMaxSize { get; set; }
  85. /// <summary>
  86. /// 允许上传类型
  87. /// </summary>
  88. [SugarColumn(ColumnDescription = "允许上传类型", Length = 100, ColumnName = "upload_ext")]
  89. public string UploadExt { get; set; }
  90. /// <summary>
  91. /// 项目名称
  92. /// </summary>
  93. [SugarColumn(ColumnDescription = "项目名称", Length = 50, ColumnName = "project_name")]
  94. public string ProjectName { get; set; }
  95. /// <summary>
  96. /// 官网地址
  97. /// </summary>
  98. [SugarColumn(ColumnDescription = "官网地址", Length = 200, ColumnName = "web_url")]
  99. public string WebUrl { get; set; }
  100. }
  101. }