361c7f84b0fce75effa28b6df2f32868e1bf66f4.svn-base 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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. public GwComFile() {
  66. }
  67. public String getObjName() {
  68. return objName;
  69. }
  70. public void setObjName(String objName) {
  71. this.objName = objName;
  72. }
  73. public int getSn() {
  74. return sn;
  75. }
  76. public void setSn(int sn) {
  77. this.sn = sn;
  78. }
  79. public int getDownNum() {
  80. return downNum;
  81. }
  82. public void setDownNum(int downNum) {
  83. this.downNum = downNum;
  84. }
  85. public String getId() {
  86. return id;
  87. }
  88. public void setId(String id) {
  89. this.id = id;
  90. }
  91. public String getFileTitle() {
  92. return fileTitle;
  93. }
  94. public void setFileTitle(String fileTitle) {
  95. this.fileTitle = fileTitle;
  96. }
  97. public String getKeyWord() {
  98. return keyWord;
  99. }
  100. public void setKeyWord(String keyWord) {
  101. this.keyWord = keyWord;
  102. }
  103. public String getFileType() {
  104. return fileType;
  105. }
  106. public void setFileType(String fileType) {
  107. this.fileType = fileType;
  108. }
  109. public String getAbs() {
  110. return abs;
  111. }
  112. public void setAbs(String abs) {
  113. this.abs = abs;
  114. }
  115. public String getFileName() {
  116. return fileName;
  117. }
  118. public void setFileName(String fileName) {
  119. this.fileName = fileName;
  120. }
  121. public Double getFileSize() {
  122. return fileSize;
  123. }
  124. public void setFileSize(Double fileSize) {
  125. this.fileSize = fileSize;
  126. }
  127. public String getFileExt() {
  128. return fileExt;
  129. }
  130. public void setFileExt(String fileExt) {
  131. this.fileExt = fileExt;
  132. }
  133. public String getFilePath() {
  134. return filePath;
  135. }
  136. public void setFilePath(String filePath) {
  137. this.filePath = filePath;
  138. }
  139. public String getThumbnailUrl() {
  140. return thumbnailUrl;
  141. }
  142. public void setThumbnailUrl(String thumbnailUrl) {
  143. this.thumbnailUrl = thumbnailUrl;
  144. }
  145. public String getBizType() {
  146. return bizType;
  147. }
  148. public void setBizType(String bizType) {
  149. this.bizType = bizType;
  150. }
  151. public String getBizId() {
  152. return bizId;
  153. }
  154. public void setBizId(String bizId) {
  155. this.bizId = bizId;
  156. }
  157. public Double getLongitude() {
  158. return longitude;
  159. }
  160. public void setLongitude(Double longitude) {
  161. this.longitude = longitude;
  162. }
  163. public Double getLatitude() {
  164. return latitude;
  165. }
  166. public void setLatitude(Double latitude) {
  167. this.latitude = latitude;
  168. }
  169. public String getCreateBy() {
  170. return createBy;
  171. }
  172. public void setCreateBy(String createBy) {
  173. this.createBy = createBy;
  174. }
  175. public Date getCreateDate() {
  176. return createDate;
  177. }
  178. public void setCreateDate(Date createDate) {
  179. this.createDate = createDate;
  180. }
  181. public String getUpdateBy() {
  182. return updateBy;
  183. }
  184. public void setUpdateBy(String updateBy) {
  185. this.updateBy = updateBy;
  186. }
  187. public Date getUpdateDate() {
  188. return updateDate;
  189. }
  190. public void setUpdateDate(Date updateDate) {
  191. this.updateDate = updateDate;
  192. }
  193. public Integer getTopValue() {
  194. return topValue;
  195. }
  196. public void setTopValue(Integer topValue) {
  197. this.topValue = topValue;
  198. }
  199. public Date getTopDate() {
  200. return topDate;
  201. }
  202. public void setTopDate(Date topDate) {
  203. this.topDate = topDate;
  204. }
  205. @Override
  206. public String toString() {
  207. 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 + "]";
  208. }
  209. }