| | |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.modules.eam.dto.MaintenanceStandardImport; |
| | | import org.jeecg.modules.eam.dto.SecondMaintenanceStandardImport; |
| | | import org.jeecg.modules.eam.dto.ThirdMaintenanceStandardImport; |
| | | import org.jeecg.modules.eam.dto.WeekMaintenanceStandardImport; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | |
| | | /**更新时间*/ |
| | | @ApiModelProperty(value = "更新时间") |
| | | private Date updateTime; |
| | | /**删除标记*/ |
| | | @ApiModelProperty(value = "删除标记") |
| | | private Integer delFlag; |
| | | /**保养标准ID*/ |
| | | @ApiModelProperty(value = "保养标准ID") |
| | | private String standardId; |
| | | /**保养项序号*/ |
| | | @ApiModelProperty(value = "保养项序号") |
| | | private String itemCode; |
| | | private Integer itemCode; |
| | | /**部位*/ |
| | | @ApiModelProperty(value = "部位") |
| | | private String itemPart; |
| | | /**保养项*/ |
| | | @ApiModelProperty(value = "保养项") |
| | | private String itemName; |
| | |
| | | /**保养要求*/ |
| | | @ApiModelProperty(value = "保养要求") |
| | | private String itemDemand; |
| | | |
| | | |
| | | public EamMaintenanceStandardDetail(){} |
| | | |
| | | public EamMaintenanceStandardDetail(MaintenanceStandardImport dto) { |
| | | this.itemCode = dto.getItemCode(); |
| | | this.itemPart = dto.getItemPart(); |
| | | this.itemName = dto.getItemName(); |
| | | this.itemDemand = dto.getItemDemand(); |
| | | } |
| | | |
| | | public EamMaintenanceStandardDetail(WeekMaintenanceStandardImport dto) { |
| | | this.itemCode = dto.getItemCode(); |
| | | this.itemName = dto.getItemName(); |
| | | this.subItemName = dto.getSubItemName() + " " + (dto.getItemPart() == null ? "" : dto.getItemPart()); |
| | | this.itemDemand = dto.getItemDemand(); |
| | | } |
| | | |
| | | public EamMaintenanceStandardDetail(SecondMaintenanceStandardImport dto) { |
| | | this.itemCode = dto.getItemCode(); |
| | | this.itemName = dto.getItemName(); |
| | | this.itemPart = dto.getItemPart(); |
| | | this.itemDemand = dto.getItemDemand(); |
| | | } |
| | | |
| | | public EamMaintenanceStandardDetail(ThirdMaintenanceStandardImport dto) { |
| | | this.itemCode = dto.getItemCode(); |
| | | this.itemName = dto.getItemName(); |
| | | this.itemPart = dto.getItemPart(); |
| | | this.itemDemand = dto.getItemDemand(); |
| | | } |
| | | } |