package org.jeecg.modules.eam.entity; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import java.io.Serializable; //预测性维护方案 @Data @TableName("mom_eam_predictive_work_plan") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) public class PredictiveWorkPlan extends JeecgEntity implements Serializable { @Excel(name = "方案编码", width = 30) @ApiModelProperty(value = "方案编码") private String num; @Excel(name = "方案名称", width = 30) @ApiModelProperty(value = "方案名称") private String name; @Excel(name = "设备ID", width = 36) @ApiModelProperty(value = "设备ID") private String equipmentId; @Excel(name = "版本", width = 30) @ApiModelProperty(value = "版本") private String planVersion; @Excel(name = "维保方式", width = 15) @ApiModelProperty(value = "维保方式") private String maintenanceMethod; @Excel(name = "监控类型", width = 15) @ApiModelProperty(value = "监控类型") private String monitorType; @Excel(name = "派工方式", width = 15) @ApiModelProperty(value = "派工方式") private String assignMode; @Excel(name = "责任班组", width = 15) @ApiModelProperty(value = "责任班组") @Dict(dicCode = "id",dictTable="mom_base_team",dicText="name") private String teamId; @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") @TableLogic private Integer delFlag = CommonConstant.DEL_FLAG_0; @Excel(name = "状态(1未生效,2已生效,3已失效)", width = 15) @ApiModelProperty(value = "状态(1未生效,2已生效,3已失效)") private String status; }