package org.jeecg.modules.eam.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
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;
|
import java.math.BigDecimal;
|
|
/**
|
* @Description: 备品备件管理
|
* @Author: Lius
|
* @Date: 2025-03-19
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("eam_spare_parts")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value = "eam_spare_parts对象", description = "备品备件管理")
|
public class EamSpareParts extends JeecgEntity implements Serializable {
|
|
private static final long serialVersionUID = -415017937153260910L;
|
|
/**
|
* 删除标记
|
*/
|
@Excel(name = "删除标记", width = 15)
|
@JsonIgnore
|
@ApiModelProperty(value = "删除状态(0-正常,1-已删除)", hidden = true)
|
@TableLogic
|
private Integer delFlag = CommonConstant.DEL_FLAG_0;
|
/**
|
* 备件编码
|
*/
|
@Excel(name = "备件编码", width = 15)
|
@ApiModelProperty(value = "备件编码")
|
private String partCode;
|
/**
|
* 备件名称
|
*/
|
@Excel(name = "备件名称", width = 15)
|
@ApiModelProperty(value = "备件名称")
|
private String partName;
|
/**
|
* 备件分类
|
*/
|
@Excel(name = "备件分类", width = 15)
|
@ApiModelProperty(value = "备件分类")
|
@Dict(dicCode = "spare_part_category")
|
private String partCategory;
|
/**
|
* 备件型号
|
*/
|
@Excel(name = "备件型号", width = 15)
|
@ApiModelProperty(value = "备件型号")
|
private String partModel;
|
/**
|
* 备件规格
|
*/
|
@Excel(name = "备件规格", width = 15)
|
@ApiModelProperty(value = "备件规格")
|
private String partSpecification;
|
/**
|
* 存放仓库
|
*/
|
@Excel(name = "存放仓库", width = 15)
|
@ApiModelProperty(value = "存放仓库")
|
private String storehouse;
|
/**
|
* 计量单位
|
*/
|
@Excel(name = "计量单位", width = 15)
|
@ApiModelProperty(value = "计量单位")
|
private String unit;
|
/**
|
* 制造企业
|
*/
|
@Excel(name = "制造企业", width = 15)
|
@ApiModelProperty(value = "制造企业")
|
private String manufacturingEnterprise;
|
/**
|
* 有效期(天);单位:天
|
*/
|
@Excel(name = "有效期(天);单位:天", width = 15)
|
@ApiModelProperty(value = "有效期(天);单位:天")
|
private Integer periodOfValidity;
|
/**
|
* 最大备货库存
|
*/
|
@Excel(name = "最大备货库存", width = 15)
|
@ApiModelProperty(value = "最大备货库存")
|
private BigDecimal inventoryMax;
|
/**
|
* 最小备货库存
|
*/
|
@Excel(name = "最小备货库存", width = 15)
|
@ApiModelProperty(value = "最小备货库存")
|
private BigDecimal inventoryMin;
|
/**
|
* 库存预警值
|
*/
|
@Excel(name = "库存预警值", width = 15)
|
@ApiModelProperty(value = "库存预警值")
|
private BigDecimal inventoryWarning;
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
/**
|
* 库存总数量
|
*/
|
@TableField(exist = false)
|
private String totalQuantity;
|
}
|