package com.zy.asrs.entity; import com.core.common.Cools;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_detl") public class ErpOrderDetl implements Serializable { private static final long serialVersionUID = 1L; /** * 单据id */ @ApiModelProperty(value= "单据id") @TableField("order_id") private Integer orderId; /** * 行内码 */ @ApiModelProperty(value= "行内码") @TableField("line_id") private String lineId; /** * 物料编码 */ @ApiModelProperty(value= "物料编码") private String matNr; /** * 物料名称 */ @ApiModelProperty(value= "物料名称") private String makTx; /** * 数量 */ @ApiModelProperty(value= "数量") private Long anfme; /** * 规格 */ @ApiModelProperty(value= "规格") private String spec; /** * 型号 */ @ApiModelProperty(value= "型号") private String model; /** * 单位 */ @ApiModelProperty(value= "单位") private String unit; /** * 批次号 */ @ApiModelProperty(value= "批次号") private String batch; /** * 计划跟踪号 */ @ApiModelProperty(value= "计划跟踪号") @TableField("plan_no") private String planNo; /** * 质检状态,1合格0不合格3让步接收9待检 */ @ApiModelProperty(value= "质检状态,1合格0不合格3让步接收9待检") @TableField("qc_status") private Integer qcStatus; public ErpOrderDetl() {} public ErpOrderDetl(Integer orderId,String lineId,String matNr,String makTx,Long anfme,String spec,String model,String unit,String batch,String planNo,Integer qcStatus) { this.orderId = orderId; this.lineId = lineId; this.matNr = matNr; this.makTx = makTx; this.anfme = anfme; this.spec = spec; this.model = model; this.unit = unit; this.batch = batch; this.planNo = planNo; this.qcStatus = qcStatus; } // ErpOrderDetl erpOrderDetl = new ErpOrderDetl( // null, // 单据id[非空] // null, // 行内码[非空] // null, // 物料编码[非空] // null, // 物料名称[非空] // null, // 数量[非空] // null, // 规格 // null, // 型号 // null, // 单位 // null, // 批次号 // null, // 计划跟踪号 // null // 质检状态,1合格0不合格3让步接收9待检 // ); }