MCPcopy Create free account
hub / github.com/bsxj97/flower-mall / StoreupEntity

Class StoreupEntity

src/main/java/com/entity/StoreupEntity.java:31–164  ·  view source on GitHub ↗

收藏表 数据库通用操作实体类(普通增删改查) @author @email @date 2021-03-20 11:33:21

Source from the content-addressed store, hash-verified

29 * @date 2021-03-20 11:33:21
30 */
31@TableName("storeup")
32public class StoreupEntity<T> implements Serializable {
33 private static final long serialVersionUID = 1L;
34
35
36 public StoreupEntity() {
37
38 }
39
40 public StoreupEntity(T t) {
41 try {
42 BeanUtils.copyProperties(this, t);
43 } catch (IllegalAccessException | InvocationTargetException e) {
44 // TODO Auto-generated catch block
45 e.printStackTrace();
46 }
47 }
48
49 /**
50 * 主键id
51 */
52 @TableId
53 private Long id;
54 /**
55 * 用户id
56 */
57
58 private Long userid;
59
60 /**
61 * 收藏id
62 */
63
64 private Long refid;
65
66 /**
67 * 表名
68 */
69
70 private String tablename;
71
72 /**
73 * 收藏名称
74 */
75
76 private String name;
77
78 /**
79 * 收藏图片
80 */
81
82 private String picture;
83
84
85 @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
86 @DateTimeFormat
87 private Date addtime;
88

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected