| | |
| | | package org.jeecg.modules.eam.entity; |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | 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 com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | 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; |
| | | /** |
| | | * @Description: 保养标准明细 |
| | | * @Author: jeecg-boot |
| | | * @Date: 2025-03-26 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_maintenance_standard_detail") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value="eam_maintenance_standard_detail对象", description="保养标准明细") |
| | | public class EamMaintenanceStandardDetail implements Serializable { |
| | | |
| | | /**主键*/ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | @ApiModelProperty(value = "主键") |
| | | private String id; |
| | | /**创建人*/ |
| | | @ApiModelProperty(value = "创建人") |
| | | private String createBy; |
| | | /**创建时间*/ |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | /**更新人*/ |
| | | @ApiModelProperty(value = "更新人") |
| | | private String updateBy; |
| | | /**更新时间*/ |
| | | @ApiModelProperty(value = "更新时间") |
| | | private Date updateTime; |
| | | /**保养标准ID*/ |
| | | @ApiModelProperty(value = "保养标准ID") |
| | | private String standardId; |
| | | /**保养项序号*/ |
| | | @ApiModelProperty(value = "保养项序号") |
| | | private Integer itemCode; |
| | | /**部位*/ |
| | | @ApiModelProperty(value = "部位") |
| | | private String itemPart; |
| | | /**保养项*/ |
| | | @ApiModelProperty(value = "保养项") |
| | | private String itemName; |
| | | /**子保养项*/ |
| | | @ApiModelProperty(value = "子保养项") |
| | | private String subItemName; |
| | | /**检查标准或要求*/ |
| | | @ApiModelProperty(value = "检查标准或要求") |
| | | private String itemDemand; |
| | | /**保养要求2*/ |
| | | @ApiModelProperty(value = "保养要求2") |
| | | private String itemDemandAlias; |
| | | /**检查方法*/ |
| | | @ApiModelProperty(value = "检查方法") |
| | | private String checkMethod; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | /** |
| | | * @Description: 保养标准明细 |
| | | * @Author: jeecg-boot |
| | | * @Date: 2025-03-26 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_maintenance_standard_detail") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value="eam_maintenance_standard_detail对象", description="保养标准明细") |
| | | public class EamMaintenanceStandardDetail implements Serializable { |
| | | |
| | | /**主键*/ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | @ApiModelProperty(value = "主键") |
| | | private String id; |
| | | /**创建人*/ |
| | | @ApiModelProperty(value = "创建人") |
| | | private String createBy; |
| | | /**创建时间*/ |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | /**更新人*/ |
| | | @ApiModelProperty(value = "更新人") |
| | | private String updateBy; |
| | | /**更新时间*/ |
| | | @ApiModelProperty(value = "更新时间") |
| | | private Date updateTime; |
| | | /**保养标准ID*/ |
| | | @ApiModelProperty(value = "保养标准ID") |
| | | private String standardId; |
| | | /**保养项序号*/ |
| | | @ApiModelProperty(value = "保养项序号") |
| | | private Integer itemCode; |
| | | /**部位*/ |
| | | @ApiModelProperty(value = "部位") |
| | | private String itemPart; |
| | | /**保养项*/ |
| | | @ApiModelProperty(value = "保养项") |
| | | private String itemName; |
| | | /**子保养项*/ |
| | | @ApiModelProperty(value = "子保养项") |
| | | private String subItemName; |
| | | /**检查标准或要求*/ |
| | | @ApiModelProperty(value = "检查标准或要求") |
| | | private String itemDemand; |
| | | /**保养要求2*/ |
| | | @ApiModelProperty(value = "保养要求2") |
| | | private String itemDemandAlias; |
| | | /**检查方法*/ |
| | | @ApiModelProperty(value = "检查方法") |
| | | private String checkMethod; |
| | | |
| | | |
| | | public EamMaintenanceStandardDetail(){} |
| | | public EamMaintenanceStandardDetail(){} |
| | | |
| | | public EamMaintenanceStandardDetail(MaintenanceStandardImport dto) { |
| | | this.itemCode = dto.getItemCode(); |
| | | this.itemPart = dto.getItemPart(); |
| | | this.itemName = dto.getItemName(); |
| | | this.itemDemand = dto.getItemDemand(); |
| | | public EamMaintenanceStandardDetail(MaintenanceStandardImport dto) { |
| | | this.itemCode = Integer.valueOf(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(); |
| | | this.itemDemandAlias = dto.getItemDemandAlias(); |
| | | this.checkMethod = dto.getCheckMethod(); |
| | | } |
| | | |
| | | public EamMaintenanceStandardDetail(ThirdMaintenanceStandardImport dto) { |
| | | this.itemCode = dto.getItemCode(); |
| | | this.itemName = dto.getItemName(); |
| | | this.itemPart = dto.getItemPart(); |
| | | this.itemDemand = dto.getItemDemand(); |
| | | this.itemDemandAlias = dto.getItemDemandAlias(); |
| | | this.checkMethod = dto.getCheckMethod(); |
| | | } |
| | | } |
| | | |
| | | 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(); |
| | | this.itemDemandAlias = dto.getItemDemandAlias(); |
| | | this.checkMethod = dto.getCheckMethod(); |
| | | } |
| | | |
| | | public EamMaintenanceStandardDetail(ThirdMaintenanceStandardImport dto) { |
| | | this.itemCode = dto.getItemCode(); |
| | | this.itemName = dto.getItemName(); |
| | | this.itemPart = dto.getItemPart(); |
| | | this.itemDemand = dto.getItemDemand(); |
| | | this.itemDemandAlias = dto.getItemDemandAlias(); |
| | | this.checkMethod = dto.getCheckMethod(); |
| | | } |
| | | } |