b1d6f48a1ca73c258bb422fab8ba99eed3074921.svn-base 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. package cn.com.goldenwater.dcproj.model;
  2. import cn.com.goldenwater.core.model.BaseBean;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import java.io.Serializable;
  7. import java.util.Date;
  8. /**
  9. * entity:GwComFile
  10. *
  11. * @author zhaohg
  12. * @date 2019-2-18
  13. */
  14. @JsonIgnoreProperties(value = {"handler", "hibernateLazyInitializer"})
  15. public class GwComFile extends BaseBean implements Serializable {
  16. // ID
  17. private String id;
  18. // 文件标题
  19. private String fileTitle;
  20. // 关键词
  21. private String keyWord;
  22. // 音频、视频、文本、图片等
  23. private String fileType;
  24. // 摘要
  25. private String abs;
  26. // 原始文件名(包含扩展名)
  27. private String fileName;
  28. // 文件大小
  29. private Double fileSize;
  30. // 文件扩展名
  31. private String fileExt;
  32. // 文件路径
  33. private String filePath;
  34. // 缩略图路径
  35. private String thumbnailUrl;
  36. // 业务类型
  37. private String bizType;
  38. // 业务ID
  39. private String bizId;
  40. // 移动app时有用
  41. private Double longitude;
  42. // 移动app时有用
  43. private Double latitude;
  44. // 创建人
  45. private String createBy;
  46. // 创建日期
  47. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
  48. private Date createDate;
  49. // 最后修改人
  50. private String updateBy;
  51. // 最后修改日期
  52. private Date updateDate;
  53. @ApiModelProperty("下载量")
  54. private int downNum;
  55. @ApiModelProperty("图片排序")
  56. private int sn;
  57. // 是否置顶
  58. @ApiModelProperty("置顶")
  59. private Integer topValue;
  60. // 置顶时间 当取消置顶时删除时间
  61. @ApiModelProperty("置顶时间")
  62. private Date topDate;
  63. @ApiModelProperty("问题对象名称")
  64. private String objName;
  65. private String isNotice;
  66. public GwComFile() {
  67. }
  68. public String getIsNotice() {
  69. return isNotice;
  70. }
  71. public void setIsNotice(String isNotice) {
  72. this.isNotice = isNotice;
  73. }
  74. public String getObjName() {
  75. return objName;
  76. }
  77. public void setObjName(String objName) {
  78. this.objName = objName;
  79. }
  80. public int getSn() {
  81. return sn;
  82. }
  83. public void setSn(int sn) {
  84. this.sn = sn;
  85. }
  86. public int getDownNum() {
  87. return downNum;
  88. }
  89. public void setDownNum(int downNum) {
  90. this.downNum = downNum;
  91. }
  92. public String getId() {
  93. return id;
  94. }
  95. public void setId(String id) {
  96. this.id = id;
  97. }
  98. public String getFileTitle() {
  99. return fileTitle;
  100. }
  101. public void setFileTitle(String fileTitle) {
  102. this.fileTitle = fileTitle;
  103. }
  104. public String getKeyWord() {
  105. return keyWord;
  106. }
  107. public void setKeyWord(String keyWord) {
  108. this.keyWord = keyWord;
  109. }
  110. public String getFileType() {
  111. return fileType;
  112. }
  113. public void setFileType(String fileType) {
  114. this.fileType = fileType;
  115. }
  116. public String getAbs() {
  117. return abs;
  118. }
  119. public void setAbs(String abs) {
  120. this.abs = abs;
  121. }
  122. public String getFileName() {
  123. return fileName;
  124. }
  125. public void setFileName(String fileName) {
  126. this.fileName = fileName;
  127. }
  128. public Double getFileSize() {
  129. return fileSize;
  130. }
  131. public void setFileSize(Double fileSize) {
  132. this.fileSize = fileSize;
  133. }
  134. public String getFileExt() {
  135. return fileExt;
  136. }
  137. public void setFileExt(String fileExt) {
  138. this.fileExt = fileExt;
  139. }
  140. public String getFilePath() {
  141. return filePath;
  142. }
  143. public void setFilePath(String filePath) {
  144. this.filePath = filePath;
  145. }
  146. public String getThumbnailUrl() {
  147. return thumbnailUrl;
  148. }
  149. public void setThumbnailUrl(String thumbnailUrl) {
  150. this.thumbnailUrl = thumbnailUrl;
  151. }
  152. public String getBizType() {
  153. return bizType;
  154. }
  155. public void setBizType(String bizType) {
  156. this.bizType = bizType;
  157. }
  158. public String getBizId() {
  159. return bizId;
  160. }
  161. public void setBizId(String bizId) {
  162. this.bizId = bizId;
  163. }
  164. public Double getLongitude() {
  165. return longitude;
  166. }
  167. public void setLongitude(Double longitude) {
  168. this.longitude = longitude;
  169. }
  170. public Double getLatitude() {
  171. return latitude;
  172. }
  173. public void setLatitude(Double latitude) {
  174. this.latitude = latitude;
  175. }
  176. public String getCreateBy() {
  177. return createBy;
  178. }
  179. public void setCreateBy(String createBy) {
  180. this.createBy = createBy;
  181. }
  182. public Date getCreateDate() {
  183. return createDate;
  184. }
  185. public void setCreateDate(Date createDate) {
  186. this.createDate = createDate;
  187. }
  188. public String getUpdateBy() {
  189. return updateBy;
  190. }
  191. public void setUpdateBy(String updateBy) {
  192. this.updateBy = updateBy;
  193. }
  194. public Date getUpdateDate() {
  195. return updateDate;
  196. }
  197. public void setUpdateDate(Date updateDate) {
  198. this.updateDate = updateDate;
  199. }
  200. public Integer getTopValue() {
  201. return topValue;
  202. }
  203. public void setTopValue(Integer topValue) {
  204. this.topValue = topValue;
  205. }
  206. public Date getTopDate() {
  207. return topDate;
  208. }
  209. public void setTopDate(Date topDate) {
  210. this.topDate = topDate;
  211. }
  212. @Override
  213. public String toString() {
  214. return "GwComFile [" + "id=" + id + ", fileTitle=" + fileTitle + ", keyWord=" + keyWord + ", fileType=" + fileType + ", abs=" + abs + ", fileName=" + fileName + ", fileSize=" + fileSize + ", fileExt=" + fileExt + ", filePath=" + filePath + ", thumbnailUrl=" + thumbnailUrl + ", bizType=" + bizType + ", bizId=" + bizId + ", longitude=" + longitude + ", latitude=" + latitude + ", createBy=" + createBy + ", createDate=" + createDate + ", updateBy=" + updateBy + ", updateDate=" + updateDate + ", topValue=" + topValue + ", topDate=" + topDate + "]";
  215. }
  216. }