package org.jeecg.modules.spare.vo; 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.SparePartRequirementDeatil; 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 @ApiModel(value = "mom_eam_spare_part_requirement_scrapPage对象", description = "备件需求") public class SparePartRequirementVo { /** * 单位比例 */ @ApiModelProperty(value = "单位比例") private String conversionRatio; /** * 主键 */ @ApiModelProperty(value = "主键") private String id; /** * 备件报废单id */ @ApiModelProperty(value = "备件需求单id") private String sparePartRequirementId; /** * 备件ID */ @Excel(name = "备件ID", width = 15) @ApiModelProperty(value = "备件ID") private String sparePartId; /** * 型号 */ @Excel(name = "型号", width = 15) @ApiModelProperty(value = "型号") private String model; /** * 规格 */ @Excel(name = "规格", width = 15) @ApiModelProperty(value = "规格") private String specification; /** * 主单位 */ @Excel(name = "主单位", width = 15) @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name") @ApiModelProperty(value = "主单位") private String mainUnitId; /** * 主单位 */ @Excel(name = "主单位", width = 15) @ApiModelProperty(value = "主单位") private String mainUnitIdName; /** * 辅单位 */ @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 String auxiliaryUnitIdName; /** * 主数量 */ @Excel(name = "主数量", width = 15) @ApiModelProperty(value = "主数量") private Double mainQuantity; /** * 辅数量 */ @Excel(name = "辅数量", width = 15) @ApiModelProperty(value = "辅数量") private Double auxiliaryQuantity; /** * 删除状态(0-正常,1-已删除) */ @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private Integer delFlag = CommonConstant.DEL_FLAG_0; /** * 备用名称 */ @Excel(name = "备用名称", width = 15) @ApiModelProperty(value = "备用名称") private String spareName; /** * 备用名称 */ @Excel(name = "备件编码", width = 15) @ApiModelProperty(value = "备件编码") private String spareNum; /** * 备用名称 */ @Excel(name = "需求时间", width = 15) @ApiModelProperty(value = "需求时间") private String requirementTime; }