Nav apraksta

WebSet.cs 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace XYFDRQ.Model
  5. {
  6. public class WebSet
  7. {
  8. private string _webname = "";
  9. private string _weburl = "";
  10. private string _webpath = "";
  11. private string _weblogpath = "";
  12. private string _webtel = "";
  13. private string _webfax = "";
  14. private string _webemail = "";
  15. private string _webcrod = "";
  16. private string _webcopyright = "";
  17. private string _webkeywords = "";
  18. private string _webdescription = "";
  19. private int _weblogstatus = 0;
  20. private string _webkillkeywords = "";
  21. private int _webprosize = 20;
  22. private int _webnewssize = 20;
  23. private string _webfilepath = "";
  24. private string _webfiletype = "";
  25. private int _webfilesize = 0;
  26. private int _isthumbnail = 0;
  27. private int _prowidth = 0;
  28. private int _prohight = 0;
  29. private int _iswatermark = 0;
  30. private int _watermarkstatus = 0;
  31. private int _imgquality = 80;
  32. private string _imgwaterpath = "";
  33. private int _imgwatertransparency = 0;
  34. private string _watertext = "";
  35. private string _waterfont = "";
  36. private int _fontsize = 12;
  37. /// <summary>
  38. /// 网站名称
  39. /// </summary>
  40. public string WebName
  41. {
  42. set { _webname = value; }
  43. get { return _webname; }
  44. }
  45. /// <summary>
  46. /// 网站地址
  47. /// </summary>
  48. public string WebUrl
  49. {
  50. set { _weburl = value; }
  51. get { return _weburl; }
  52. }
  53. /// <summary>
  54. /// 网站路径
  55. /// </summary>
  56. public string WebPath
  57. {
  58. set { _webpath = value; }
  59. get { return _webpath; }
  60. }
  61. /// <summary>
  62. /// 日志路径
  63. /// </summary>
  64. public string WeblogPath
  65. {
  66. set { _weblogpath = value; }
  67. get { return _weblogpath; }
  68. }
  69. /// <summary>
  70. /// 联系电话
  71. /// </summary>
  72. public string WebTel
  73. {
  74. set { _webtel = value; }
  75. get { return _webtel; }
  76. }
  77. /// <summary>
  78. /// 传真地址
  79. /// </summary>
  80. public string WebFax
  81. {
  82. set { _webfax = value; }
  83. get { return _webfax; }
  84. }
  85. /// <summary>
  86. /// 联系邮箱
  87. /// </summary>
  88. public string WebEmail
  89. {
  90. set { _webemail = value; }
  91. get { return _webemail; }
  92. }
  93. /// <summary>
  94. /// ICP备案
  95. /// </summary>
  96. public string WebCrod
  97. {
  98. set { _webcrod = value; }
  99. get { return _webcrod; }
  100. }
  101. /// <summary>
  102. /// 公司版权
  103. /// </summary>
  104. public string WebCopyright
  105. {
  106. set { _webcopyright = value; }
  107. get { return _webcopyright; }
  108. }
  109. /// <summary>
  110. /// 网站关健字
  111. /// </summary>
  112. public string WebKeywords
  113. {
  114. set { _webkeywords = value; }
  115. get { return _webkeywords; }
  116. }
  117. /// <summary>
  118. /// 网站描述
  119. /// </summary>
  120. public string WebDescription
  121. {
  122. set { _webdescription = value; }
  123. get { return _webdescription; }
  124. }
  125. /// <summary>
  126. /// 管理日志状态
  127. /// </summary>
  128. public int WebLogStatus
  129. {
  130. set { _weblogstatus = value; }
  131. get { return _weblogstatus; }
  132. }
  133. /// <summary>
  134. /// 脏话过滤
  135. /// </summary>
  136. public string WebKillKeywords
  137. {
  138. set { _webkillkeywords = value; }
  139. get { return _webkillkeywords; }
  140. }
  141. /// <summary>
  142. /// 网站产品分页数量
  143. /// </summary>
  144. public int WebProSize
  145. {
  146. set { _webprosize = value; }
  147. get { return _webprosize; }
  148. }
  149. /// <summary>
  150. /// 网站新闻分页数量
  151. /// </summary>
  152. public int WebNewsSize
  153. {
  154. set { _webnewssize = value; }
  155. get { return _webnewssize; }
  156. }
  157. /// <summary>
  158. /// 文件上传目录
  159. /// </summary>
  160. public string WebFilePath
  161. {
  162. set { _webfilepath = value; }
  163. get { return _webfilepath; }
  164. }
  165. /// <summary>
  166. /// 允许文件上传类型
  167. /// </summary>
  168. public string WebFileType
  169. {
  170. set { _webfiletype = value; }
  171. get { return _webfiletype; }
  172. }
  173. /// <summary>
  174. /// 允许文件上传大小
  175. /// </summary>
  176. public int WebFileSize
  177. {
  178. set { _webfilesize = value; }
  179. get { return _webfilesize; }
  180. }
  181. /// <summary>
  182. /// 是否生成产品缩略图
  183. /// </summary>
  184. public int IsThumbnail
  185. {
  186. set { _isthumbnail = value; }
  187. get { return _isthumbnail; }
  188. }
  189. /// <summary>
  190. /// 产品缩略图宽
  191. /// </summary>
  192. public int ProWidth
  193. {
  194. set { _prowidth = value; }
  195. get { return _prowidth; }
  196. }
  197. /// <summary>
  198. /// 产品缩略图高
  199. /// </summary>
  200. public int ProHight
  201. {
  202. set { _prohight = value; }
  203. get { return _prohight; }
  204. }
  205. /// <summary>
  206. /// 是否开启图片水印
  207. /// </summary>
  208. public int IsWatermark
  209. {
  210. set { _iswatermark = value; }
  211. get { return _iswatermark; }
  212. }
  213. /// <summary>
  214. /// 图片水印位置
  215. /// </summary>
  216. public int WatermarkStatus
  217. {
  218. set { _watermarkstatus = value; }
  219. get { return _watermarkstatus; }
  220. }
  221. /// <summary>
  222. /// 图片生成质量
  223. /// </summary>
  224. public int ImgQuality
  225. {
  226. set { _imgquality = value; }
  227. get { return _imgquality; }
  228. }
  229. /// <summary>
  230. /// 图片型水印文件
  231. /// </summary>
  232. public string ImgWaterPath
  233. {
  234. set { _imgwaterpath = value; }
  235. get { return _imgwaterpath; }
  236. }
  237. /// <summary>
  238. /// 图片水印透明度
  239. /// </summary>
  240. public int ImgWaterTransparency
  241. {
  242. set { _imgwatertransparency = value; }
  243. get { return _imgwatertransparency; }
  244. }
  245. /// <summary>
  246. /// 文字水印内容
  247. /// </summary>
  248. public string WaterText
  249. {
  250. set { _watertext = value; }
  251. get { return _watertext; }
  252. }
  253. /// <summary>
  254. /// 文字水印字体
  255. /// </summary>
  256. public string WaterFont
  257. {
  258. set { _waterfont = value; }
  259. get { return _waterfont; }
  260. }
  261. /// <summary>
  262. /// 文字水印字体大小
  263. /// </summary>
  264. public int FontSize
  265. {
  266. set { _fontsize = value; }
  267. get { return _fontsize; }
  268. }
  269. }
  270. }