Commit f924800925d6fbfe03cf49a68fa918bc4c9ce717

Authored by 陈浩
1 parent f842885a

update

src/main/java/com/cnlive/shenhe/entity/AcpComments.java deleted 100644 → 0
1   -package com.cnlive.shenhe.entity;
2   -
3   -import java.util.Date;
4   -import javax.persistence.*;
5   -
6   -@Table(name = "acp_comments")
7   -public class AcpComments {
8   - @Id
9   - private Integer id;
10   -
11   - /**
12   - * 评论内容
13   - */
14   - private String comment_content;
15   -
16   - /**
17   - * 评论用户id
18   - */
19   - private Integer comment_user_id;
20   -
21   - /**
22   - * 节目id
23   - */
24   - private Integer program_id;
25   -
26   - /**
27   - * 评论的活动id
28   - */
29   - private String activity_id;
30   -
31   - /**
32   - * 评论所属的平台
33   - */
34   - private String platform;
35   -
36   - /**
37   - * 评论标题
38   - */
39   - private String comment_title;
40   -
41   - /**
42   - * 评论时间
43   - */
44   - private Date comment_time;
45   -
46   - private Integer spid;
47   -
48   - /**
49   - * 应用id
50   - */
51   - private String app_id;
52   -
53   - /**
54   - * 原文链接url
55   - */
56   - private String comment_original_url;
57   -
58   - /**
59   - * 更新者
60   - */
61   - private String updater;
62   -
63   - /**
64   - * 审核员
65   - */
66   - private String auditor;
67   -
68   - /**
69   - * 回调函数
70   - */
71   - private String callback;
72   -
73   - /**
74   - * 是否是热点 对应的就是优先级 : 0:全部 ,1:不是 ,2: 是
75   - */
76   - private Boolean is_hot;
77   -
78   - /**
79   - * 拒绝理由
80   - */
81   - private String msg;
82   -
83   - /**
84   - * 状态 0.未审核,1:已审核,2审核失败
85   - */
86   - private Integer state;
87   -
88   - /**
89   - * 用户昵称
90   - */
91   - private String comment_user_name;
92   -
93   - /**
94   - * 评论用户头像url
95   - */
96   - private String comment_user_avatar;
97   -
98   - /**
99   - * 评论用户来源ip
100   - */
101   - private String comment_user_ip;
102   -
103   - private Date created_at;
104   -
105   - private Date updated_at;
106   -
107   - /**
108   - * @return id
109   - */
110   - public Integer getId() {
111   - return id;
112   - }
113   -
114   - /**
115   - * @param id
116   - */
117   - public void setId(Integer id) {
118   - this.id = id;
119   - }
120   -
121   - /**
122   - * 获取评论内容
123   - *
124   - * @return comment_content - 评论内容
125   - */
126   - public String getComment_content() {
127   - return comment_content;
128   - }
129   -
130   - /**
131   - * 设置评论内容
132   - *
133   - * @param comment_content 评论内容
134   - */
135   - public void setComment_content(String comment_content) {
136   - this.comment_content = comment_content;
137   - }
138   -
139   - /**
140   - * 获取评论用户id
141   - *
142   - * @return comment_user_id - 评论用户id
143   - */
144   - public Integer getComment_user_id() {
145   - return comment_user_id;
146   - }
147   -
148   - /**
149   - * 设置评论用户id
150   - *
151   - * @param comment_user_id 评论用户id
152   - */
153   - public void setComment_user_id(Integer comment_user_id) {
154   - this.comment_user_id = comment_user_id;
155   - }
156   -
157   - /**
158   - * 获取节目id
159   - *
160   - * @return program_id - 节目id
161   - */
162   - public Integer getProgram_id() {
163   - return program_id;
164   - }
165   -
166   - /**
167   - * 设置节目id
168   - *
169   - * @param program_id 节目id
170   - */
171   - public void setProgram_id(Integer program_id) {
172   - this.program_id = program_id;
173   - }
174   -
175   - /**
176   - * 获取评论的活动id
177   - *
178   - * @return activity_id - 评论的活动id
179   - */
180   - public String getActivity_id() {
181   - return activity_id;
182   - }
183   -
184   - /**
185   - * 设置评论的活动id
186   - *
187   - * @param activity_id 评论的活动id
188   - */
189   - public void setActivity_id(String activity_id) {
190   - this.activity_id = activity_id;
191   - }
192   -
193   - /**
194   - * 获取评论所属的平台
195   - *
196   - * @return platform - 评论所属的平台
197   - */
198   - public String getPlatform() {
199   - return platform;
200   - }
201   -
202   - /**
203   - * 设置评论所属的平台
204   - *
205   - * @param platform 评论所属的平台
206   - */
207   - public void setPlatform(String platform) {
208   - this.platform = platform;
209   - }
210   -
211   - /**
212   - * 获取评论标题
213   - *
214   - * @return comment_title - 评论标题
215   - */
216   - public String getComment_title() {
217   - return comment_title;
218   - }
219   -
220   - /**
221   - * 设置评论标题
222   - *
223   - * @param comment_title 评论标题
224   - */
225   - public void setComment_title(String comment_title) {
226   - this.comment_title = comment_title;
227   - }
228   -
229   - /**
230   - * 获取评论时间
231   - *
232   - * @return comment_time - 评论时间
233   - */
234   - public Date getComment_time() {
235   - return comment_time;
236   - }
237   -
238   - /**
239   - * 设置评论时间
240   - *
241   - * @param comment_time 评论时间
242   - */
243   - public void setComment_time(Date comment_time) {
244   - this.comment_time = comment_time;
245   - }
246   -
247   - /**
248   - * @return spid
249   - */
250   - public Integer getSpid() {
251   - return spid;
252   - }
253   -
254   - /**
255   - * @param spid
256   - */
257   - public void setSpid(Integer spid) {
258   - this.spid = spid;
259   - }
260   -
261   - /**
262   - * 获取应用id
263   - *
264   - * @return app_id - 应用id
265   - */
266   - public String getApp_id() {
267   - return app_id;
268   - }
269   -
270   - /**
271   - * 设置应用id
272   - *
273   - * @param app_id 应用id
274   - */
275   - public void setApp_id(String app_id) {
276   - this.app_id = app_id;
277   - }
278   -
279   - /**
280   - * 获取原文链接url
281   - *
282   - * @return comment_original_url - 原文链接url
283   - */
284   - public String getComment_original_url() {
285   - return comment_original_url;
286   - }
287   -
288   - /**
289   - * 设置原文链接url
290   - *
291   - * @param comment_original_url 原文链接url
292   - */
293   - public void setComment_original_url(String comment_original_url) {
294   - this.comment_original_url = comment_original_url;
295   - }
296   -
297   - /**
298   - * 获取更新者
299   - *
300   - * @return updater - 更新者
301   - */
302   - public String getUpdater() {
303   - return updater;
304   - }
305   -
306   - /**
307   - * 设置更新者
308   - *
309   - * @param updater 更新者
310   - */
311   - public void setUpdater(String updater) {
312   - this.updater = updater;
313   - }
314   -
315   - /**
316   - * 获取审核员
317   - *
318   - * @return auditor - 审核员
319   - */
320   - public String getAuditor() {
321   - return auditor;
322   - }
323   -
324   - /**
325   - * 设置审核员
326   - *
327   - * @param auditor 审核员
328   - */
329   - public void setAuditor(String auditor) {
330   - this.auditor = auditor;
331   - }
332   -
333   - /**
334   - * 获取回调函数
335   - *
336   - * @return callback - 回调函数
337   - */
338   - public String getCallback() {
339   - return callback;
340   - }
341   -
342   - /**
343   - * 设置回调函数
344   - *
345   - * @param callback 回调函数
346   - */
347   - public void setCallback(String callback) {
348   - this.callback = callback;
349   - }
350   -
351   - /**
352   - * 获取是否是热点 对应的就是优先级 : 0:全部 ,1:不是 ,2: 是
353   - *
354   - * @return is_hot - 是否是热点 对应的就是优先级 : 0:全部 ,1:不是 ,2: 是
355   - */
356   - public Boolean getIs_hot() {
357   - return is_hot;
358   - }
359   -
360   - /**
361   - * 设置是否是热点 对应的就是优先级 : 0:全部 ,1:不是 ,2: 是
362   - *
363   - * @param is_hot 是否是热点 对应的就是优先级 : 0:全部 ,1:不是 ,2: 是
364   - */
365   - public void setIs_hot(Boolean is_hot) {
366   - this.is_hot = is_hot;
367   - }
368   -
369   - /**
370   - * 获取拒绝理由
371   - *
372   - * @return msg - 拒绝理由
373   - */
374   - public String getMsg() {
375   - return msg;
376   - }
377   -
378   - /**
379   - * 设置拒绝理由
380   - *
381   - * @param msg 拒绝理由
382   - */
383   - public void setMsg(String msg) {
384   - this.msg = msg;
385   - }
386   -
387   - /**
388   - * 获取状态 0.未审核,1:已审核,2审核失败
389   - *
390   - * @return state - 状态 0.未审核,1:已审核,2审核失败
391   - */
392   - public Integer getState() {
393   - return state;
394   - }
395   -
396   - /**
397   - * 设置状态 0.未审核,1:已审核,2审核失败
398   - *
399   - * @param state 状态 0.未审核,1:已审核,2审核失败
400   - */
401   - public void setState(Integer state) {
402   - this.state = state;
403   - }
404   -
405   - /**
406   - * 获取用户昵称
407   - *
408   - * @return comment_user_name - 用户昵称
409   - */
410   - public String getComment_user_name() {
411   - return comment_user_name;
412   - }
413   -
414   - /**
415   - * 设置用户昵称
416   - *
417   - * @param comment_user_name 用户昵称
418   - */
419   - public void setComment_user_name(String comment_user_name) {
420   - this.comment_user_name = comment_user_name;
421   - }
422   -
423   - /**
424   - * 获取评论用户头像url
425   - *
426   - * @return comment_user_avatar - 评论用户头像url
427   - */
428   - public String getComment_user_avatar() {
429   - return comment_user_avatar;
430   - }
431   -
432   - /**
433   - * 设置评论用户头像url
434   - *
435   - * @param comment_user_avatar 评论用户头像url
436   - */
437   - public void setComment_user_avatar(String comment_user_avatar) {
438   - this.comment_user_avatar = comment_user_avatar;
439   - }
440   -
441   - /**
442   - * 获取评论用户来源ip
443   - *
444   - * @return comment_user_ip - 评论用户来源ip
445   - */
446   - public String getComment_user_ip() {
447   - return comment_user_ip;
448   - }
449   -
450   - /**
451   - * 设置评论用户来源ip
452   - *
453   - * @param comment_user_ip 评论用户来源ip
454   - */
455   - public void setComment_user_ip(String comment_user_ip) {
456   - this.comment_user_ip = comment_user_ip;
457   - }
458   -
459   - /**
460   - * @return created_at
461   - */
462   - public Date getCreated_at() {
463   - return created_at;
464   - }
465   -
466   - /**
467   - * @param created_at
468   - */
469   - public void setCreated_at(Date created_at) {
470   - this.created_at = created_at;
471   - }
472   -
473   - /**
474   - * @return updated_at
475   - */
476   - public Date getUpdated_at() {
477   - return updated_at;
478   - }
479   -
480   - /**
481   - * @param updated_at
482   - */
483   - public void setUpdated_at(Date updated_at) {
484   - this.updated_at = updated_at;
485   - }
486   -}
487 0 \ No newline at end of file
src/main/java/com/cnlive/shenhe/mapper/AcpCommentsMapper.java deleted 100644 → 0
1   -package com.cnlive.shenhe.mapper;
2   -
3   -import com.cnlive.shenhe.entity.AcpComments;
4   -import tk.mybatis.mapper.common.Mapper;
5   -
6   -public interface AcpCommentsMapper extends Mapper<AcpComments> {
7   -}
8 0 \ No newline at end of file
src/main/resources/mapper/AcpCommentsMapper.xml deleted 100644 → 0
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3   -<mapper namespace="com.cnlive.shenhe.mapper.AcpCommentsMapper">
4   - <resultMap id="BaseResultMap" type="com.cnlive.shenhe.entity.AcpComments">
5   - <!--
6   - WARNING - @mbg.generated
7   - -->
8   - <id column="id" jdbcType="INTEGER" property="id" />
9   - <result column="comment_content" jdbcType="VARCHAR" property="comment_content" />
10   - <result column="comment_user_id" jdbcType="INTEGER" property="comment_user_id" />
11   - <result column="program_id" jdbcType="INTEGER" property="program_id" />
12   - <result column="activity_id" jdbcType="VARCHAR" property="activity_id" />
13   - <result column="platform" jdbcType="VARCHAR" property="platform" />
14   - <result column="comment_title" jdbcType="VARCHAR" property="comment_title" />
15   - <result column="comment_time" jdbcType="TIMESTAMP" property="comment_time" />
16   - <result column="spid" jdbcType="INTEGER" property="spid" />
17   - <result column="app_id" jdbcType="VARCHAR" property="app_id" />
18   - <result column="comment_original_url" jdbcType="VARCHAR" property="comment_original_url" />
19   - <result column="updater" jdbcType="VARCHAR" property="updater" />
20   - <result column="auditor" jdbcType="VARCHAR" property="auditor" />
21   - <result column="callback" jdbcType="VARCHAR" property="callback" />
22   - <result column="is_hot" jdbcType="BIT" property="is_hot" />
23   - <result column="msg" jdbcType="VARCHAR" property="msg" />
24   - <result column="state" jdbcType="INTEGER" property="state" />
25   - <result column="comment_user_name" jdbcType="VARCHAR" property="comment_user_name" />
26   - <result column="comment_user_avatar" jdbcType="VARCHAR" property="comment_user_avatar" />
27   - <result column="comment_user_ip" jdbcType="CHAR" property="comment_user_ip" />
28   - <result column="created_at" jdbcType="TIMESTAMP" property="created_at" />
29   - <result column="updated_at" jdbcType="TIMESTAMP" property="updated_at" />
30   - </resultMap>
31   -</mapper>
32 0 \ No newline at end of file