收货地址 接收传参的实体类 (实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 取自ModelAndView 的model名称
| 16 | * 取自ModelAndView 的model名称 |
| 17 | */ |
| 18 | public class AddressModel 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 Integer yonghuId; |
| 34 | |
| 35 | |
| 36 | /** |
| 37 | * 收货人 |
| 38 | */ |
| 39 | private String addressName; |
| 40 | |
| 41 | |
| 42 | /** |
| 43 | * 电话 |
| 44 | */ |
| 45 | private String addressPhone; |
| 46 | |
| 47 | |
| 48 | /** |
| 49 | * 地址 |
| 50 | */ |
| 51 | private String addressDizhi; |
| 52 | |
| 53 | |
| 54 | /** |
| 55 | * 是否默认地址 |
| 56 | */ |
| 57 | private Integer isdefaultTypes; |
| 58 | |
| 59 | |
| 60 | /** |
| 61 | * 添加时间 |
| 62 | */ |
| 63 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") |
| 64 | @DateTimeFormat |
| 65 | private Date insertTime; |
| 66 | |
| 67 | |
| 68 | /** |
| 69 | * 修改时间 |
| 70 | */ |
| 71 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") |
| 72 | @DateTimeFormat |
| 73 | private Date updateTime; |
| 74 | |
| 75 |
nothing calls this directly
no outgoing calls
no test coverage detected