| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.zy.asrs.wms.system.entity.User; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | |
| | | * 租户 |
| | | */ |
| | | @ApiModelProperty(value= "租户") |
| | | private Integer tenantId; |
| | | private Integer hostId; |
| | | |
| | | /** |
| | | * 添加人员 |
| | |
| | | */ |
| | | @ApiModelProperty(value= "添加时间") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "修改时间") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | |
| | | this.flagLogic = flagLogic; |
| | | this.status = status; |
| | | this.deleted = deleted; |
| | | this.tenantId = tenantId; |
| | | this.hostId = tenantId; |
| | | this.createBy = createBy; |
| | | this.createTime = createTime; |
| | | this.updateBy = updateBy; |
| | |
| | | this.memo = memo; |
| | | } |
| | | |
| | | // Container container = new Container( |
| | | // null, // 名称 |
| | | // null, // 容器编码[非空] |
| | | // null, // 容器类型[非空] |
| | | // null, // 使用次数[非空] |
| | | // null, // 长度 |
| | | // null, // 宽度 |
| | | // null, // 高度 |
| | | // null, // 有效期 |
| | | // null, // 是否回收[非空] |
| | | // null, // 是否虚拟[非空] |
| | | // null, // 状态[非空] |
| | | // null, // 是否删除[非空] |
| | | // null, // 租户 |
| | | // null, // 添加人员 |
| | | // null, // 添加时间[非空] |
| | | // null, // 修改人员 |
| | | // null, // 修改时间[非空] |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public String getType$(){ |
| | | if (null == this.type){ return null; } |
| | | switch (this.type){ |
| | | case "1": |
| | | return " 钢托盘"; |
| | | case "2": |
| | | return " 木托盘"; |
| | | case "3": |
| | | return " 塑料料框"; |
| | | case "4": |
| | | return "托盘笼箱"; |
| | | case "5": |
| | | return "钢料架"; |
| | | default: |
| | | return String.valueOf(this.type); |
| | | } |
| | | } |
| | | |
| | | public String getVaildTime$(){ |
| | | if (Cools.isEmpty(this.vaildTime)){ |