347 lines
6.5 KiB
Java
347 lines
6.5 KiB
Java
package com.wms.entity.table;
|
||
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
import com.wms.entity.BaseEntity;
|
||
import com.wms.utils.excel.ExcelExport;
|
||
import org.springframework.format.annotation.DateTimeFormat;
|
||
|
||
import java.util.Date;
|
||
|
||
/**
|
||
* 任务
|
||
*/
|
||
public class Task extends BaseEntity {
|
||
|
||
|
||
/**
|
||
* 物料编号
|
||
*/
|
||
@ExcelExport("零件号")
|
||
private String goodsId;
|
||
|
||
/**
|
||
* 任务编号
|
||
*/
|
||
@ExcelExport("箱号")
|
||
private String taskId;
|
||
|
||
/**
|
||
* 物料名称
|
||
*/
|
||
@ExcelExport("零件名称")
|
||
private String goodsName;
|
||
|
||
|
||
/**
|
||
* 任务类型 (1:入库;2:出库;9:移库)
|
||
*/
|
||
@ExcelExport("任务类型")
|
||
private Integer taskType;
|
||
|
||
/**
|
||
* 任务组
|
||
*/
|
||
@ExcelExport("任务组")
|
||
private String taskGroup;
|
||
|
||
/**
|
||
* 起点
|
||
*/
|
||
@ExcelExport("起点")
|
||
private String origin;
|
||
|
||
/**
|
||
* 终点
|
||
*/
|
||
@ExcelExport("终点")
|
||
private String destination;
|
||
|
||
/**
|
||
* 拣选站台
|
||
*/
|
||
@ExcelExport("拣选站台")
|
||
private String pickStand;
|
||
|
||
/**
|
||
* 重量
|
||
*/
|
||
@ExcelExport("重量")
|
||
private Double weight;
|
||
|
||
/**
|
||
* 生产日期
|
||
*/
|
||
@ExcelExport("生产日期")
|
||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
private Date productionDate;
|
||
|
||
/**
|
||
* 过期日期
|
||
*/
|
||
@ExcelExport("有效日期")
|
||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
private Date expirationDate;
|
||
|
||
/**
|
||
* 本次操作数量
|
||
*/
|
||
@ExcelExport("操作数量")
|
||
private Integer operateNum;
|
||
|
||
/**
|
||
* 库存总数量
|
||
*/
|
||
@ExcelExport("库存数量")
|
||
private Integer totalNum;
|
||
|
||
/**
|
||
* 任务优先级
|
||
*/
|
||
@ExcelExport("任务优先级")
|
||
private Integer taskPriority;
|
||
|
||
/**
|
||
* 卡特任务的id
|
||
*/
|
||
@ExcelExport("配件任务号")
|
||
private String kateTaskId;
|
||
|
||
/**
|
||
* 操作人员姓名
|
||
*/
|
||
@ExcelExport("操作人员姓名")
|
||
private String userName;
|
||
|
||
/**
|
||
* 创建时间
|
||
*/
|
||
@ExcelExport("创建时间")
|
||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
private Date createTime;
|
||
|
||
/**
|
||
* 完成时间
|
||
*/
|
||
@ExcelExport("任务完成时间")
|
||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
private Date finishTime;
|
||
|
||
|
||
/**
|
||
* 任务状态
|
||
*/
|
||
@ExcelExport("任务状态")
|
||
private Integer taskStatus;
|
||
|
||
/**
|
||
* 载具编号
|
||
*/
|
||
|
||
private String vehicleNo;
|
||
|
||
/**
|
||
* 尺寸
|
||
*/
|
||
private Integer vehicleSize;
|
||
|
||
|
||
/**
|
||
* 电子标签库位
|
||
*/
|
||
private String etagLocation;
|
||
|
||
/**
|
||
* 备用字段
|
||
* 1. 原包装出库的货架号
|
||
*/
|
||
private String remark1;
|
||
|
||
public String getTaskId() {
|
||
return taskId;
|
||
}
|
||
|
||
public void setTaskId(String taskId) {
|
||
this.taskId = taskId;
|
||
}
|
||
|
||
public Integer getTaskType() {
|
||
return taskType;
|
||
}
|
||
|
||
public void setTaskType(Integer taskType) {
|
||
this.taskType = taskType;
|
||
}
|
||
|
||
public Integer getTaskStatus() {
|
||
return taskStatus;
|
||
}
|
||
|
||
public void setTaskStatus(Integer taskStatus) {
|
||
this.taskStatus = taskStatus;
|
||
}
|
||
|
||
public String getTaskGroup() {
|
||
return taskGroup;
|
||
}
|
||
|
||
public void setTaskGroup(String taskGroup) {
|
||
this.taskGroup = taskGroup;
|
||
}
|
||
|
||
public String getOrigin() {
|
||
return origin;
|
||
}
|
||
|
||
public void setOrigin(String origin) {
|
||
this.origin = origin;
|
||
}
|
||
|
||
public String getDestination() {
|
||
return destination;
|
||
}
|
||
|
||
public void setDestination(String destination) {
|
||
this.destination = destination;
|
||
}
|
||
|
||
public String getPickStand() {
|
||
return pickStand;
|
||
}
|
||
|
||
public void setPickStand(String pickStand) {
|
||
this.pickStand = pickStand;
|
||
}
|
||
|
||
public Double getWeight() {
|
||
return weight;
|
||
}
|
||
|
||
public void setWeight(Double weight) {
|
||
this.weight = weight;
|
||
}
|
||
|
||
public String getVehicleNo() {
|
||
return vehicleNo;
|
||
}
|
||
|
||
public void setVehicleNo(String vehicleNo) {
|
||
this.vehicleNo = vehicleNo;
|
||
}
|
||
|
||
public Integer getVehicleSize() {
|
||
return vehicleSize;
|
||
}
|
||
|
||
public void setVehicleSize(Integer vehicleSize) {
|
||
this.vehicleSize = vehicleSize;
|
||
}
|
||
|
||
public Date getCreateTime() {
|
||
return createTime;
|
||
}
|
||
|
||
public void setCreateTime(Date createTime) {
|
||
this.createTime = createTime;
|
||
}
|
||
|
||
public String getUserName() {
|
||
return userName;
|
||
}
|
||
|
||
public void setUserName(String userName) {
|
||
this.userName = userName;
|
||
}
|
||
|
||
public String getGoodsId() {
|
||
return goodsId;
|
||
}
|
||
|
||
public void setGoodsId(String goodsId) {
|
||
this.goodsId = goodsId;
|
||
}
|
||
|
||
public String getGoodsName() {
|
||
return goodsName;
|
||
}
|
||
|
||
public void setGoodsName(String goodsName) {
|
||
this.goodsName = goodsName;
|
||
}
|
||
|
||
public Date getProductionDate() {
|
||
return productionDate;
|
||
}
|
||
|
||
public void setProductionDate(Date productionDate) {
|
||
this.productionDate = productionDate;
|
||
}
|
||
|
||
public Date getExpirationDate() {
|
||
return expirationDate;
|
||
}
|
||
|
||
public void setExpirationDate(Date expirationDate) {
|
||
this.expirationDate = expirationDate;
|
||
}
|
||
|
||
public Integer getOperateNum() {
|
||
return operateNum;
|
||
}
|
||
|
||
public void setOperateNum(Integer operateNum) {
|
||
this.operateNum = operateNum;
|
||
}
|
||
|
||
public Integer getTotalNum() {
|
||
return totalNum;
|
||
}
|
||
|
||
public void setTotalNum(Integer totalNum) {
|
||
this.totalNum = totalNum;
|
||
}
|
||
|
||
public String getEtagLocation() {
|
||
return etagLocation;
|
||
}
|
||
|
||
public void setEtagLocation(String etagLocation) {
|
||
this.etagLocation = etagLocation;
|
||
}
|
||
|
||
public Integer getTaskPriority() {
|
||
return taskPriority;
|
||
}
|
||
|
||
public void setTaskPriority(Integer taskPriority) {
|
||
this.taskPriority = taskPriority;
|
||
}
|
||
|
||
public String getKateTaskId() {
|
||
return kateTaskId;
|
||
}
|
||
|
||
public void setKateTaskId(String kateTaskId) {
|
||
this.kateTaskId = kateTaskId;
|
||
}
|
||
|
||
public Date getFinishTime() {
|
||
return finishTime;
|
||
}
|
||
|
||
public void setFinishTime(Date finishTime) {
|
||
this.finishTime = finishTime;
|
||
}
|
||
|
||
public String getRemark1() {
|
||
return remark1;
|
||
}
|
||
|
||
public void setRemark1(String remark1) {
|
||
this.remark1 = remark1;
|
||
}
|
||
}
|