package org.jeecg.modules.spare.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import java.io.Serializable; /** * @Description: 备件库存 * @Author: jeecg-boot * @Date: 2023-06-21 * @Version: V1.0 */ @ApiModel(value = "mom_eam_spares_part_inventory对象", description = "备件库存") @Data @TableName("mom_eam_spares_part_inventory") public class SparesPartInventory extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /** * 备件id */ @Excel(name = "备件id", width = 15) @ApiModelProperty(value = "备件id") private String sparePartId; /** * 批次号 */ @Excel(name = "批次号", width = 15) @ApiModelProperty(value = "批次号") private String batchNum; /** * 失效预报警 */ @Excel(name = "失效预报警", width = 15) @ApiModelProperty(value = "失效预报警") private String validityForecast; /** * 库存预报警 */ @Excel(name = "库存预报警", width = 15) @ApiModelProperty(value = "库存预报警") private String inventoryForecast; /** * 制造商 */ @Excel(name = "制造商", width = 15) @ApiModelProperty(value = "制造商") @Dict(dictTable = "mom_base_constructor", dicCode = "id", dicText = "name") private String constructorId; /** * 主单位id */ @Excel(name = "主单位id", width = 15) @ApiModelProperty(value = "主单位id") @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name") private String mainUnitId; /** * 辅单位id */ @Excel(name = "辅单位id", width = 15) @ApiModelProperty(value = "辅单位id") @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name") private String auxiliaryUnitId; @Excel(name = "仓库id", width = 15) @ApiModelProperty(value = "仓库id") @Dict(dictTable = "mom_base_warehouse", dicCode = "id", dicText = "name") private String warehouseId; @Excel(name = "库区id", width = 15) @ApiModelProperty(value = "库区id") @Dict(dictTable = "mom_base_warehouse_area", dicCode = "id", dicText = "name") private String warehouseAreaId; @Excel(name = "库位id", width = 15) @ApiModelProperty(value = "库位id") @Dict(dictTable = "mom_base_warehouse_location", dicCode = "id", dicText = "name") private String warehouseLocationId; /** * 主数量 */ @Excel(name = "主数量", width = 15) @ApiModelProperty(value = "主数量") private Double mainQuantity; /** * 辅数量 */ @Excel(name = "辅数量", width = 15) @ApiModelProperty(value = "辅数量") private Double auxiliaryQuantity; /** * 出厂日期 */ @Excel(name = "出厂日期", width = 15) @ApiModelProperty(value = "出厂日期") private java.util.Date manufactureDate; /** * 供应商id */ @Excel(name = "供应商id", width = 15) @ApiModelProperty(value = "供应商id") private String supplierId; /** * 有效期 */ @Excel(name = "有效期", width = 15) @ApiModelProperty(value = "有效期") private Integer validityPeriod; /** * 租户id */ @Excel(name = "租户id", width = 15) @ApiModelProperty(value = "租户id") private String tenantId; /** * 删除状态(0-正常,1-已删除) */ @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private Integer delFlag = CommonConstant.DEL_FLAG_0; /** * 状态 0 禁用 1 启用 */ @Excel(name = "状态 0 禁用 1 启用", width = 15) @ApiModelProperty(value = "状态 0 禁用 1 启用") private String status = CommonConstant.STATUS_1; /** * 备注 */ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; /** * 备用字段1 */ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String sparesUda1; /** * 备用字段2 */ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String sparesUda2; /** * 备用字段3 */ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String sparesUda3; /** * 备用字段4 */ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String sparesUda4; /** * 备用字段5 */ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String sparesUda5; /** * 备件名称 */ @TableField(exist = false) private String sparePartName; /** * 备件编码 */ @TableField(exist = false) private String sparePartNum; /** * 备件型号 */ @TableField(exist = false) private String sparePartModel; /** * 备件规格 */ @TableField(exist = false) private String sparePartSpecification; /** * 换算比例 */ @TableField(exist = false) private String sparePartConversionRatio; }