MCPcopy Create free account
hub / github.com/LisenCoding/cangku / GonggaoModel

Class GonggaoModel

boot/src/main/java/com/entity/model/GonggaoModel.java:18–169  ·  view source on GitHub ↗

公告 接收传参的实体类 (实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 取自ModelAndView 的model名称

Source from the content-addressed store, hash-verified

16 * 取自ModelAndView 的model名称
17 */
18public class GonggaoModel implements Serializable {
19 private static final long serialVersionUID = 1L;
20
21
22
23
24 /**
25 * 主键
26 */
27 private Integer id;
28
29
30 /**
31 * 公告名称
32 */
33 private String gonggaoName;
34
35
36 /**
37 * 公告图片
38 */
39 private String gonggaoPhoto;
40
41
42 /**
43 * 公告类型
44 */
45 private Integer gonggaoTypes;
46
47
48 /**
49 * 发布时间
50 */
51 @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
52 @DateTimeFormat
53 private Date insertTime;
54
55
56 /**
57 * 公告详情
58 */
59 private String gonggaoContent;
60
61
62 /**
63 * 创建时间 show1 show2 nameShow
64 */
65 @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
66 @DateTimeFormat
67 private Date createTime;
68
69
70 /**
71 * 获取:主键
72 */
73 public Integer getId() {
74 return id;
75 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected