| | |
| | | package com.vincent.rsf.openApi.entity.params; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonAlias; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AccessLevel; |
| | | import lombok.Data; |
| | | import lombok.Setter; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value = "业务类型,如:采购入库单、销售出库单、调拨申请单等", required = true) |
| | | private String wkType; |
| | | |
| | | @ApiModelProperty(value = "业务日期,时间戳精确到秒", required = true) |
| | | private Long businessTime; |
| | | @ApiModelProperty(value = "添加时间,支持 yyyy-MM-dd HH:mm:ss 或时间戳(秒/毫秒)") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @Setter(AccessLevel.NONE) |
| | | private Date businessTime; |
| | | |
| | | @ApiModelProperty(value = "创建日期,时间戳精确到秒", required = true) |
| | | private Long createTime; |
| | | @ApiModelProperty(value = "创建时间,支持 yyyy-MM-dd HH:mm:ss 或时间戳(秒/毫秒)") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @Setter(AccessLevel.NONE) |
| | | private Date createTime; |
| | | |
| | | @JsonDeserialize(using = FlexibleDateDeserializer.class) |
| | | public void setBusinessTime(Date businessTime) { |
| | | this.businessTime = businessTime; |
| | | } |
| | | |
| | | @JsonDeserialize(using = FlexibleDateDeserializer.class) |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | @ApiModelProperty(value = "订单明细", required = true) |
| | | private List<WmsOrderItemParam> orderItems; |