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_erp_order")
|
public class ErpOrder implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 自增id
|
*/
|
@ApiModelProperty(value= "自增id")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 订单编码
|
*/
|
@ApiModelProperty(value= "订单编码")
|
@TableField("order_no")
|
private String orderNo;
|
|
/**
|
* 订单类型,1 出库单;2 入库单;3 调拨单;
|
*/
|
@ApiModelProperty(value= "订单类型,1 出库单;2 入库单;3 调拨单;")
|
@TableField("order_type")
|
private Integer orderType;
|
|
/**
|
* 业务类型
|
*/
|
@ApiModelProperty(value= "业务类型")
|
@TableField("wk_type")
|
private String wkType;
|
|
/**
|
* 业务时间
|
*/
|
@ApiModelProperty(value= "业务时间")
|
@TableField("business_time")
|
private Long businessTime;
|
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty(value= "创建时间")
|
@TableField("create_time")
|
private Long createTime;
|
|
/**
|
* 仓库id
|
*/
|
@ApiModelProperty(value= "仓库id")
|
@TableField("warehouse_id")
|
private String warehouseId;
|
|
/**
|
* 操作类型,1 新增(默认);2 修改;3 取消;4 关闭;
|
*/
|
@ApiModelProperty(value= "操作类型,1 新增(默认);2 修改;3 取消;4 关闭;")
|
@TableField("operate_type")
|
private Integer operateType;
|
|
/**
|
* 发送状态1:已发送 0:待发送
|
*/
|
@ApiModelProperty(value= "发送状态1:已发送 0:待发送")
|
@TableField("send_status")
|
private Integer sendStatus;
|
|
public ErpOrder() {}
|
|
public ErpOrder(Integer id,String orderNo,Integer orderType,String wkType,Long businessTime,Long createTime,String warehouseId,Integer operateType,Integer sendStatus) {
|
this.id = id;
|
this.orderNo = orderNo;
|
this.orderType = orderType;
|
this.wkType = wkType;
|
this.businessTime = businessTime;
|
this.createTime = createTime;
|
this.warehouseId = warehouseId;
|
this.operateType = operateType;
|
this.sendStatus = sendStatus;
|
}
|
|
// ErpOrder erpOrder = new ErpOrder(
|
// null, // 自增id[非空]
|
// null, // 订单编码[非空]
|
// null, // 订单类型,1 出库单;2 入库单;3 调拨单;[非空]
|
// null, // 业务类型[非空]
|
// null, // 业务时间[非空]
|
// null, // 创建时间[非空]
|
// null, // 仓库id[非空]
|
// null, // 操作类型,1 新增(默认);2 修改;3 取消;4 关闭;
|
// null // 发送状态1:已发送 0:待发送
|
// );
|
|
|
}
|