package org.jeecg.modules.spare.entity;
|
|
import java.io.Serializable;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
/**
|
* @Description: 设备报废明细表
|
* @Author: jeecg-boot
|
* @Date: 2023-06-21
|
* @Version: V1.0
|
*/
|
@ApiModel(value="mom_eam_spares_scrap_detail对象", description="备件报废明细表")
|
@Data
|
@TableName("mom_eam_spares_scrap_detail")
|
public class SparesScrapDetail extends JeecgEntity implements Serializable {
|
/**备件报废单id*/
|
@ApiModelProperty(value = "备件报废单id")
|
private String sparePartScrapId;
|
/**备件ID*/
|
@Excel(name = "备件ID", width = 15)
|
@ApiModelProperty(value = "备件ID")
|
@Dict(dictTable = "mom_eam_spare_part",dicText = "num",dicCode = "id")
|
private String sparePartId;
|
|
@Excel(name = "备件", width = 15)
|
@ApiModelProperty(value = "备件")
|
@TableField(exist = false)
|
@Dict(dictTable = "mom_eam_spare_part",dicText = "name",dicCode = "id")
|
private String sparePartIdName;
|
/**型号*/
|
@Excel(name = "型号", width = 15)
|
@ApiModelProperty(value = "型号")
|
private String model;
|
/**规格*/
|
@Excel(name = "规格", width = 15)
|
@ApiModelProperty(value = "规格")
|
private String specification;
|
/**报废原因*/
|
@Excel(name = "报废原因", width = 15)
|
@ApiModelProperty(value = "报废原因")
|
private String scrapReason;
|
/**库区id*/
|
@Excel(name = "库区id", width = 15)
|
@ApiModelProperty(value = "库区id")
|
private String storageAreaId;
|
/**库位*/
|
@Excel(name = "库位", width = 15)
|
@ApiModelProperty(value = "库位")
|
private String storageLocationId;
|
/**报废日期*/
|
@Excel(name = "报废日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "报废日期")
|
private Date scrapDate;
|
/**主单位*/
|
@Excel(name = "主单位", width = 15)
|
@Dict(dictTable = "mom_base_unit",dicCode = "id",dicText = "name")
|
@ApiModelProperty(value = "主单位")
|
private String mainUnitId;
|
/**辅单位*/
|
@Excel(name = "辅单位", width = 15)
|
@Dict(dictTable = "mom_base_unit",dicCode = "id",dicText = "name")
|
@ApiModelProperty(value = "辅单位")
|
private String auxiliaryUnitId;
|
/**主数量*/
|
@Excel(name = "主数量", width = 15)
|
@ApiModelProperty(value = "主数量")
|
private Double scrapMainQuantity;
|
/**辅数量*/
|
@Excel(name = "辅数量", width = 15)
|
@ApiModelProperty(value = "辅数量")
|
private Double scrapAuxiliaryQuantity;
|
/**租户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;
|
|
|
/**企业id*/
|
@Excel(name = "企业id", width = 15)
|
@ApiModelProperty(value = "企业id")
|
private String enterpriseId;
|
/**备用字段1*/
|
@Excel(name = "备用字段1", width = 15)
|
@ApiModelProperty(value = "备用字段1")
|
private String uda1;
|
/**备用字段2*/
|
@Excel(name = "备用字段2", width = 15)
|
@ApiModelProperty(value = "备用字段2")
|
private String uda2;
|
/**备用字段3*/
|
@Excel(name = "备用字段3", width = 15)
|
@ApiModelProperty(value = "备用字段3")
|
private String uda3;
|
/**备用字段4*/
|
@Excel(name = "备用字段4", width = 15)
|
@ApiModelProperty(value = "备用字段4")
|
private String uda4;
|
/**备用字段5*/
|
@Excel(name = "备用字段5", width = 15)
|
@ApiModelProperty(value = "备用字段5")
|
private String uda5;
|
|
|
/**库存备件ID*/
|
@Excel(name = "库存备件ID", width = 15)
|
@ApiModelProperty(value = "库存备件ID")
|
private String sparePartInventoryId;
|
|
|
|
}
|