package com.zy.asrs.entity;
|
|
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
|
import com.zy.asrs.entity.param.TaskArmReportParam;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@Data
|
@TableName("asr_bas_arm_mast")
|
public class BasArmMast implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* ID
|
*/
|
@ApiModelProperty(value= "ID")
|
private Long id;
|
|
/**
|
* 机械臂编号
|
*/
|
@ApiModelProperty(value= "机械臂编号")
|
@TableId(value = "arm_no", type = IdType.INPUT)
|
@TableField("arm_no")
|
private Integer armNo;
|
|
/**
|
* 操作方向
|
*/
|
@ApiModelProperty(value= "操作方向")
|
@TableField("arm_direction")
|
private Integer armDirection;
|
|
/**
|
* 终点
|
*/
|
@ApiModelProperty(value= "终点")
|
@TableField("sta_no")
|
private Integer staNo;
|
|
/**
|
* 起点
|
*/
|
@ApiModelProperty(value= "起点")
|
@TableId(value = "sorting_line", type = IdType.INPUT)
|
@TableField("sorting_line")
|
private Integer sortingLine;
|
|
/**
|
* 绑定标记
|
*/
|
@ApiModelProperty(value= "绑定标记")
|
@TableField("binding_tags")
|
private Integer bindingTags;
|
|
/**
|
* 优先级
|
*/
|
@ApiModelProperty(value= "优先级")
|
private Long priority;
|
|
/**
|
* 状态
|
*/
|
@ApiModelProperty(value= "状态")
|
private Integer status;
|
|
@ApiModelProperty(value= "")
|
private String matnr;
|
|
@ApiModelProperty(value= "")
|
private String sku;
|
|
@ApiModelProperty(value= "")
|
private String po;
|
|
@ApiModelProperty(value= "")
|
private String upc;
|
|
/**
|
* 货源
|
*/
|
@ApiModelProperty(value= "货源")
|
private String supplier;
|
|
@ApiModelProperty(value= "")
|
@TableField("order_no")
|
private String orderNo;
|
|
/**
|
* 箱数
|
*/
|
@ApiModelProperty(value= "箱数")
|
private Integer ctns;
|
|
/**
|
* 时间戳
|
*/
|
@ApiModelProperty(value= "时间戳")
|
@TableId(value = "createTime", type = IdType.INPUT)
|
private Long createTime;
|
|
/**
|
* 异常代码
|
*/
|
@ApiModelProperty(value= "异常代码")
|
@TableField("arm_error")
|
private Long armError;
|
|
/**
|
* 异常信息
|
*/
|
@ApiModelProperty(value= "异常信息")
|
@TableField("arm_msg")
|
private String armMsg;
|
|
public BasArmMast() {}
|
public BasArmMast(TaskArmReportParam param) {
|
this.orderNo = param.getOrderNo();
|
this.sku = param.getSku();
|
this.po = param.getPo();
|
this.upc = param.getUpc();
|
this.supplier = param.getSupplier();
|
this.createTime = param.getCreateTime();
|
this.sortingLine = Integer.getInteger(param.getStaNo());
|
}
|
|
public BasArmMast(Integer armNo,Integer armDirection,Integer staNo,Integer sortingLine,Integer bindingTags,Long priority,Integer status,String matnr,String sku,String po,String upc,String supplier,String orderNo,Integer ctns,Long createTime,Long armError,String armMsg) {
|
this.armNo = armNo;
|
this.armDirection = armDirection;
|
this.staNo = staNo;
|
this.sortingLine = sortingLine;
|
this.bindingTags = bindingTags;
|
this.priority = priority;
|
this.status = status;
|
this.matnr = matnr;
|
this.sku = sku;
|
this.po = po;
|
this.upc = upc;
|
this.supplier = supplier;
|
this.orderNo = orderNo;
|
this.ctns = ctns;
|
this.createTime = createTime;
|
this.armError = armError;
|
this.armMsg = armMsg;
|
}
|
|
// BasArmMast basArmMast = new BasArmMast(
|
// null, // 机械臂编号[非空]
|
// null, // 操作方向[非空]
|
// null, // 终点[非空]
|
// null, // 起点[非空]
|
// null, // 绑定标记[非空]
|
// null, // 优先级[非空]
|
// null, // 状态[非空]
|
// null, // [非空]
|
// null, // [非空]
|
// null, // [非空]
|
// null, // [非空]
|
// null, // 货源[非空]
|
// null, // [非空]
|
// null, // 箱数[非空]
|
// null, // 时间戳[非空]
|
// null, // 异常代码
|
// null // 异常信息
|
// );
|
|
|
}
|