| | |
| | | package com.xzx.gc.shop.vo; |
| | | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | |
| | | @ApiModelProperty(value = "下单时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | private Date createTime; |
| | | private Date createdTime; |
| | | |
| | | @ApiModelProperty(value = "下单时间") |
| | | private String createTime; |
| | | |
| | | @ApiModelProperty(value = "缩略图") |
| | | private String thumb; |
| | |
| | | private String phone; |
| | | |
| | | |
| | | public void setCreatedTime(Date createdTime) { |
| | | this.createdTime = createdTime; |
| | | this.createTime = DateUtil.format(createdTime, "yyyy-MM-dd HH:mm:ss"); |
| | | } |
| | | } |