package cn.iocoder.yudao.module.mes.dal.dataobject.mdm;
|
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* MDM 物料 DO
|
*
|
* 映射 mdm_item 表
|
*/
|
@TableName("mdm_item")
|
@KeySequence("mdm_item_seq")
|
@Data
|
@EqualsAndHashCode
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MesMdmItemDO {
|
|
/**
|
* 物料编号
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 物料编码
|
*/
|
private String code;
|
|
/**
|
* 物料名称
|
*/
|
private String name;
|
|
/**
|
* 物料条码
|
*/
|
private String barCode;
|
|
/**
|
* 规格型号
|
*/
|
private String specification;
|
|
/**
|
* 物料分类编号
|
*/
|
private Long categoryId;
|
|
/**
|
* 计量单位编号
|
*/
|
private Long unitMeasureId;
|
|
/**
|
* 辅单位1编号
|
*/
|
private Long unitMeasureId2;
|
|
/**
|
* 辅单位1换算比率
|
*/
|
private BigDecimal unitMeasureRate1;
|
|
/**
|
* 辅单位2编号
|
*/
|
private Long unitMeasureId3;
|
|
/**
|
* 辅单位2换算比率
|
*/
|
private BigDecimal unitMeasureRate2;
|
|
/**
|
* 默认仓库编号
|
*/
|
private Long warehouseId;
|
|
/**
|
* 默认仓库编码
|
*/
|
private String warehouseCode;
|
|
/**
|
* 品牌编号
|
*/
|
private Long brandId;
|
|
/**
|
* 物料类型(1:物料 2:产品 3:半成品)
|
*/
|
private Integer itemType;
|
|
/**
|
* 状态(0正常 1停用)
|
*/
|
private Integer status;
|
|
/**
|
* 采购价
|
*/
|
private BigDecimal purchasePrice;
|
|
/**
|
* 销售价
|
*/
|
private BigDecimal salesPrice;
|
|
/**
|
* 成本价
|
*/
|
private BigDecimal costPrice;
|
|
/**
|
* 最低价
|
*/
|
private BigDecimal minPrice;
|
|
/**
|
* 安全库存
|
*/
|
private BigDecimal safetyStock;
|
|
/**
|
* 最低库存量
|
*/
|
private BigDecimal minStock;
|
|
/**
|
* 最高库存量
|
*/
|
private BigDecimal maxStock;
|
|
/**
|
* 最小订货量
|
*/
|
private BigDecimal minOrderQty;
|
|
/**
|
* 采购提前期(天)
|
*/
|
private Integer leadTime;
|
|
/**
|
* 是否批次管理
|
*/
|
private Boolean isBatchManaged;
|
|
/**
|
* 是否序列号管理
|
*/
|
private Boolean isSerialManaged;
|
|
/**
|
* 条码规则ID
|
*/
|
private Long barcodeRuleId;
|
|
/**
|
* 保质期天数
|
*/
|
private Integer expiryDay;
|
|
/**
|
* 是否高值物料
|
*/
|
private Boolean highValue;
|
|
/**
|
* 重量(kg)
|
*/
|
private BigDecimal weight;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 创建者
|
*/
|
private String creator;
|
|
/**
|
* 创建时间
|
*/
|
private LocalDateTime createTime;
|
|
/**
|
* 更新者
|
*/
|
private String updater;
|
|
/**
|
* 更新时间
|
*/
|
private LocalDateTime updateTime;
|
|
/**
|
* 是否删除
|
*/
|
private Boolean deleted;
|
|
}
|