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 io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@Data
|
@TableName("asr_bas_arm_rules")
|
public class BasArmRules implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* ID
|
*/
|
@ApiModelProperty(value= "ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 长度.单位:mm
|
*/
|
@ApiModelProperty(value= "长度.单位:mm")
|
@TableField("material_length")
|
private Double materialLength;
|
|
/**
|
* 宽度.单位:mm
|
*/
|
@ApiModelProperty(value= "宽度.单位:mm")
|
@TableField("material_width")
|
private Double materialWidth;
|
|
/**
|
* 高度.单位:mm
|
*/
|
@ApiModelProperty(value= "高度.单位:mm")
|
@TableField("material_height")
|
private Double materialHeight;
|
|
/**
|
* 重量.单位:kg
|
*/
|
@ApiModelProperty(value= "重量.单位:kg")
|
@TableField("material_weight")
|
private Double materialWeight;
|
|
/**
|
* 体积(立方毫米)
|
*/
|
@ApiModelProperty(value= "体积(立方毫米)")
|
@TableField("material_volume")
|
private Double materialVolume;
|
|
/**
|
* 满托数量
|
*/
|
@ApiModelProperty(value= "满托数量")
|
@TableField("material_number")
|
private Integer materialNumber;
|
|
/**
|
* 是否需要更新
|
*/
|
@ApiModelProperty(value= "是否需要更新")//0:需要更新 1:正常 2:异常
|
private Integer status;
|
|
public BasArmRules() {}
|
|
public BasArmRules(Double materialLength,Double materialWidth,Double materialHeight,Double materialWeight,Double materialVolume,Integer materialNumber,Integer status) {
|
this.materialLength = materialLength;
|
this.materialWidth = materialWidth;
|
this.materialHeight = materialHeight;
|
this.materialWeight = materialWeight;
|
this.materialVolume = materialVolume;
|
this.materialNumber = materialNumber;
|
this.status = status;
|
}
|
|
// BasArmRules basArmRules = new BasArmRules(
|
// null, // 长度.单位:mm[非空]
|
// null, // 宽度.单位:mm[非空]
|
// null, // 高度.单位:mm[非空]
|
// null, // 重量.单位:kg[非空]
|
// null, // 体积(立方毫米)[非空]
|
// null, // 满托数量[非空]
|
// null // 是否需要更新[非空]
|
// );
|
|
|
}
|