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 java.lang.String sparePartId;
|
/**
|
* 批次号
|
*/
|
@Excel(name = "批次号", width = 15)
|
@ApiModelProperty(value = "批次号")
|
private java.lang.String batchNum;
|
/**
|
* 失效预报警
|
*/
|
@Excel(name = "失效预报警", width = 15)
|
@ApiModelProperty(value = "失效预报警")
|
private java.lang.String validityForecast;
|
|
/**
|
* 库存预报警
|
*/
|
@Excel(name = "库存预报警", width = 15)
|
@ApiModelProperty(value = "库存预报警")
|
private java.lang.String inventoryForecast;
|
|
|
/**
|
* 制造商
|
*/
|
@Excel(name = "制造商", width = 15)
|
@ApiModelProperty(value = "制造商")
|
@Dict(dictTable = "mom_base_constructor", dicCode = "id", dicText = "name")
|
private java.lang.String constructorId;
|
/**
|
* 主单位id
|
*/
|
@Excel(name = "单位", width = 15)
|
@ApiModelProperty(value = "主单位id")
|
@Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
|
private java.lang.String mainUnitId;
|
/**
|
* 辅单位id
|
*/
|
@Excel(name = "辅单位id", width = 15)
|
@ApiModelProperty(value = "辅单位id")
|
@Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
|
private java.lang.String auxiliaryUnitId;
|
|
@Excel(name = "仓库", width = 15)
|
@ApiModelProperty(value = "仓库id")
|
private java.lang.String warehouseId;
|
|
@Excel(name = "库区", width = 15)
|
@ApiModelProperty(value = "库区id")
|
@Dict(dictTable = "mom_base_warehouse_area", dicCode = "id", dicText = "name")
|
private java.lang.String warehouseAreaId;
|
|
@Excel(name = "库位", width = 15)
|
@ApiModelProperty(value = "库位id")
|
@Dict(dictTable = "mom_base_warehouse_location", dicCode = "id", dicText = "name")
|
private java.lang.String warehouseLocationId;
|
/**
|
* 主数量
|
*/
|
@Excel(name = "数量", width = 15)
|
@ApiModelProperty(value = "主数量")
|
private java.lang.Double mainQuantity;
|
/**
|
* 辅数量
|
*/
|
@Excel(name = "辅数量", width = 15)
|
@ApiModelProperty(value = "辅数量")
|
private java.lang.Double auxiliaryQuantity;
|
|
|
/**
|
* 出厂日期
|
**/
|
@Excel(name = "出厂日期", width = 15,format = "yyyy-MM-dd")
|
@ApiModelProperty(value = "出厂日期")
|
private java.util.Date manufactureDate;
|
|
|
/**
|
* 供应商id
|
*/
|
@Excel(name = "供应商", width = 15)
|
@ApiModelProperty(value = "供应商id")
|
@Dict(dictTable = "mom_base_supplier", dicCode = "id", dicText = "name")
|
private String supplierId;
|
|
|
/**
|
* 有效期
|
*/
|
@Excel(name = "有效期", width = 15)
|
@ApiModelProperty(value = "有效期")
|
private java.lang.Integer validityPeriod;
|
|
/**
|
* 租户id
|
*/
|
@Excel(name = "租户id", width = 15)
|
@ApiModelProperty(value = "租户id")
|
private java.lang.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 java.lang.String remark;
|
/**
|
* 备用字段1
|
*/
|
@Excel(name = "备用字段1", width = 15)
|
@ApiModelProperty(value = "备用字段1")
|
private java.lang.String sparesUda1;
|
/**
|
* 备用字段2
|
*/
|
@Excel(name = "备用字段2", width = 15)
|
@ApiModelProperty(value = "备用字段2")
|
private java.lang.String sparesUda2;
|
/**
|
* 备用字段3
|
*/
|
@Excel(name = "备用字段3", width = 15)
|
@ApiModelProperty(value = "备用字段3")
|
private java.lang.String sparesUda3;
|
/**
|
* 备用字段4
|
*/
|
@Excel(name = "备用字段4", width = 15)
|
@ApiModelProperty(value = "备用字段4")
|
private java.lang.String sparesUda4;
|
/**
|
* 备用字段5
|
*/
|
@Excel(name = "备用字段5", width = 15)
|
@ApiModelProperty(value = "备用字段5")
|
private java.lang.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;
|
|
}
|