package org.jeecg.modules.spare.vo;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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.modules.spare.entity.SparesScrapDetail;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @Description: 设备报废
|
* @Author: jeecg-boot
|
* @Date: 2023-06-21
|
* @Version: V1.0
|
*/
|
@Data
|
|
public class SparePartVo {
|
|
|
/**
|
* 库区ID
|
*/
|
@ApiModelProperty(value = "库区ID")
|
private String warehouseAreaId;
|
|
|
/**
|
* 库位ID
|
*/
|
@ApiModelProperty(value = "库位ID")
|
private String warehouseLocationId;
|
|
/**
|
* 库区
|
*/
|
@ApiModelProperty(value = "库区")
|
private String warehouseAreaIdName;
|
|
|
/**
|
* 库位
|
*/
|
@ApiModelProperty(value = "库位")
|
private String warehouseLocationIdName;
|
|
/**
|
* 备件报废单id
|
*/
|
@ApiModelProperty(value = "单位比例")
|
private String conversionRatio;
|
|
/**
|
* 备件报废单id
|
*/
|
@ApiModelProperty(value = "备件库存id")
|
private String sparePartInventoryId;
|
|
/**
|
* 备件报废单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;
|
|
|
/**
|
* 备用名称
|
*/
|
@Excel(name = "备用名称", width = 15)
|
@ApiModelProperty(value = "备用名称")
|
private String spareName;
|
|
|
/**
|
* 备用名称
|
*/
|
@Excel(name = "备件编码", width = 15)
|
@ApiModelProperty(value = "备件编码")
|
private String spareNum;
|
|
|
/**
|
* 备用名称
|
*/
|
@Excel(name = "备件id", width = 15)
|
@ApiModelProperty(value = "备件id")
|
private String spaceId;
|
|
|
@Excel(name = "辅数据", width = 15)
|
@ApiModelProperty(value = "辅数据")
|
private String auxiliaryQuantity;
|
|
|
@Excel(name = "主数据", width = 15)
|
@ApiModelProperty(value = "主数据")
|
private String mainQuantity;
|
|
|
@Excel(name = "批次号", width = 15)
|
@ApiModelProperty(value = "批次号")
|
private String batchNum;
|
|
|
@Excel(name = "出厂时间", width = 15)
|
@ApiModelProperty(value = "出厂时间")
|
private String manufactureDate;
|
|
|
@Excel(name = "有效期", width = 15)
|
@ApiModelProperty(value = "有效期")
|
private String validityPeriod;
|
|
|
@Excel(name = "制造商", width = 15)
|
@ApiModelProperty(value = "供应商")
|
private String constructorId;
|
|
|
@Excel(name = "制造商名称", width = 15)
|
@ApiModelProperty(value = "制造商")
|
private String constructorName;
|
|
|
@Excel(name = "备件仓库id", width = 15)
|
@ApiModelProperty(value = "备件仓库id")
|
private String id;
|
|
@Excel(name = "主单位名称", width = 15)
|
@ApiModelProperty(value = "主单位名称")
|
private String mainUnitIdName;
|
|
@Excel(name = "辅单位名称", width = 15)
|
@ApiModelProperty(value = "辅单位名称")
|
private String auxiliaryUnitIdName;
|
|
}
|