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

Class AddressEntity

boot/src/main/java/com/entity/AddressEntity.java:27–266  ·  view source on GitHub ↗

收货地址 @author @email

Source from the content-addressed store, hash-verified

25 * @email
26 */
27@TableName("address")
28public class AddressEntity<T> implements Serializable {
29 private static final long serialVersionUID = 1L;
30
31
32 public AddressEntity() {
33
34 }
35
36 public AddressEntity(T t) {
37 try {
38 BeanUtils.copyProperties(this, t);
39 } catch (IllegalAccessException | InvocationTargetException e) {
40 // TODO Auto-generated catch block
41 e.printStackTrace();
42 }
43 }
44
45
46 /**
47 * 主键
48 */
49 @TableId(type = IdType.AUTO)
50 @ColumnInfo(comment="主键",type="int(20)")
51 @TableField(value = "id")
52
53 private Integer id;
54
55
56 /**
57 * 创建用户
58 */
59 @ColumnInfo(comment="创建用户",type="int(20)")
60 @TableField(value = "yonghu_id")
61
62 private Integer yonghuId;
63
64
65 /**
66 * 收货人
67 */
68 @ColumnInfo(comment="收货人",type="varchar(200)")
69 @TableField(value = "address_name")
70
71 private String addressName;
72
73
74 /**
75 * 电话
76 */
77 @ColumnInfo(comment="电话",type="varchar(200)")
78 @TableField(value = "address_phone")
79
80 private String addressPhone;
81
82
83 /**
84 * 地址

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected