|
|
|
@ -0,0 +1,382 @@
|
|
|
|
|
package org.dromara.api.domain.sap.vo;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
|
import io.github.linpeilie.annotations.AutoMapper;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import org.dromara.api.domain.BaseMaterialInfo;
|
|
|
|
|
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
|
|
|
|
import org.dromara.common.excel.convert.ExcelDictConvert;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serial;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料信息视图对象 base_material_info
|
|
|
|
|
*
|
|
|
|
|
* @author zangch
|
|
|
|
|
* @date 2025-01-07
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
@ExcelIgnoreUnannotated
|
|
|
|
|
@AutoMapper(target = BaseMaterialInfo.class)
|
|
|
|
|
public class BaseMaterialInfoVo implements Serializable {
|
|
|
|
|
|
|
|
|
|
@Serial
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 主键标识
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "主键标识")
|
|
|
|
|
private Long materialId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 租户编号
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "租户编号")
|
|
|
|
|
private String tenantId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ERP信息
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "ERP信息")
|
|
|
|
|
private String erpId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料编码
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料编码")
|
|
|
|
|
private String materialCode;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 旧物料编码
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "旧物料编码")
|
|
|
|
|
private String oldMaterialCode;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料名称
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料名称")
|
|
|
|
|
private String materialName;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料类型ID
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料类型ID")
|
|
|
|
|
private Long materialTypeId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料大类(1原材料 2半成品 3成品)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料大类(1原材料 2半成品 3成品)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "mes_material_categories")
|
|
|
|
|
private String materialCategories;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料小类
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料小类")
|
|
|
|
|
private String materialSubclass;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批次标识(0否 1是)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "批次标识(0否 1是)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "mes_batch_flag")
|
|
|
|
|
private String batchFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 小批次数量
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "小批次数量")
|
|
|
|
|
private Long batchAmount;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量单位ID
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "计量单位ID")
|
|
|
|
|
private Long materialUnitId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量单位名称
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "计量单位名称")
|
|
|
|
|
private String materialUnit;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料组
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料组")
|
|
|
|
|
private String materialMatkl;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料规格
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料规格")
|
|
|
|
|
private String materialSpec;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 净重
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "净重")
|
|
|
|
|
private Long netWeight;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 毛重
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "毛重")
|
|
|
|
|
private Long grossWeight;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 绑定标识(1是 0否)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "绑定标识(1是 0否)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "always_flag")
|
|
|
|
|
private String alwaysFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 所属工厂
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "所属工厂")
|
|
|
|
|
private Long factoryId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 创建组织
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "创建组织")
|
|
|
|
|
private Long createOrgId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 使用组织
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "使用组织")
|
|
|
|
|
private Long useOrgId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 所属产线
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "所属产线")
|
|
|
|
|
private Long prodLineId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 激活标识(1是 0否)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "激活标识", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "active_flag")
|
|
|
|
|
private String activeFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除标识(0否 1是)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "删除标识(0否 1是)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "deleted_flag")
|
|
|
|
|
private String deletedFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 采购计价单位
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "采购计价单位")
|
|
|
|
|
private Long purchasePriceUnitId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 审核日期
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "审核日期")
|
|
|
|
|
private Date approveDate;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* erp最后更新日期
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "erp最后更新日期")
|
|
|
|
|
private Date erpModifyDate;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 最大库存数量
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "最大库存数量")
|
|
|
|
|
private Long maxStockAmount;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 最小库存数量
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "最小库存数量")
|
|
|
|
|
private Long minStockAmount;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 安全库存数量
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "安全库存数量")
|
|
|
|
|
private Long safeStockAmount;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 申请标识(1是 0否)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "申请标识(1是 0否)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "apply_flag")
|
|
|
|
|
private String applyFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料分类(1ERP同步 2虚拟物料 3MES物料)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料分类", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "material_classfication")
|
|
|
|
|
private String materialClassfication;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 自动出库标识(1是 0否)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "自动出库标识(1是 0否)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "auto_outstock_flag")
|
|
|
|
|
private String autoOutstockFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 辅料标识(1是 0否)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "辅料标识(1是 0否)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "mes_accessories_flag")
|
|
|
|
|
private String accessoriesFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 低值易耗品标识(1是 0否)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "低值易耗品标识(1是 0否)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "mes_low_value_consumable_flag")
|
|
|
|
|
private String lowValueConsumableFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 品牌
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "品牌")
|
|
|
|
|
private String brand;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 层级
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "层级")
|
|
|
|
|
private String plyrating;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 花纹
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "花纹")
|
|
|
|
|
private String pattern;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 速度级别
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "速度级别")
|
|
|
|
|
private String speedLevel;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 负荷载重
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "负荷载重")
|
|
|
|
|
private String load;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 轮胎标记(1全钢胎 2半钢胎 3工程胎)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "轮胎标记", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "tire_markings")
|
|
|
|
|
private String tireMarkings;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 最小停放时间(秒)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "最小停放时间", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "秒=")
|
|
|
|
|
private Long minParkingTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 最大停放时间(秒)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "最大停放时间", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "秒=")
|
|
|
|
|
private Long maxParkingTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 标准重量
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "标准重量")
|
|
|
|
|
private Long standardWeight;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 标准重量上限
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "标准重量上限")
|
|
|
|
|
private Long weightUpperLimit;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 标准重量下限
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "标准重量下限")
|
|
|
|
|
private Long weightLowerLimit;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 内胎标记(0无 1有)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "内胎标记(0无 1有)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "inner_tube_flag")
|
|
|
|
|
private String innerTubeFlag;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 销售类型(0内销 1外销)
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "销售类型(0内销 1外销)", converter = ExcelDictConvert.class)
|
|
|
|
|
@ExcelDictFormat(dictType = "sale_type")
|
|
|
|
|
private String saleType;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "备注")
|
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 创建部门
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "创建部门")
|
|
|
|
|
private Long createDept;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 创建人
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "创建人")
|
|
|
|
|
private Long createBy;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "创建时间")
|
|
|
|
|
private Date createTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新人
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "更新人")
|
|
|
|
|
private Long updateBy;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "更新时间")
|
|
|
|
|
private Date updateTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 所属工厂
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "所属工厂")
|
|
|
|
|
private String factoryName;//映射字段
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料类型名称
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty(value = "物料类型名称")
|
|
|
|
|
private String matrialTypeName;//映射字段
|
|
|
|
|
|
|
|
|
|
}
|