package org.jeecg.modules.eam.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; 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; import java.math.BigDecimal; import java.util.Date; /** * @Description: mom_eam_maintenance_cycle * @Author: cj * @Date: 2023-04-13 * @Version: V1.0 */ @Data @TableName("mom_eam_maintenance_cycle") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="保养周期规则", description="保养周期规则") public class MaintenanceCycle extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /**周期编码*/ @Excel(name = "周期编码", width = 15) @ApiModelProperty(value = "周期编码") private String code; /**周期名称*/ @Excel(name = "周期名称", width = 15) @ApiModelProperty(value = "周期名称") private String name; /**周期*/ @Excel(name = "周期", width = 15) @ApiModelProperty(value = "周期") private BigDecimal cycle; /**周期单位*/ @Excel(name = "周期单位", width = 15) @ApiModelProperty(value = "周期单位") private String cycleUnit; /**首次保养时间*/ @Excel(name = "首次保养时间", width = 15) @ApiModelProperty(value = "首次保养时间") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") private Date firstMaintenanceTime; /**提前时间*/ @Excel(name = "提前时间", width = 15) @ApiModelProperty(value = "提前时间") private BigDecimal leadTime; /**有效时间*/ @Excel(name = "有效时间", width = 15) @ApiModelProperty(value = "有效时间") private BigDecimal effectiveTime; /**时间单位*/ @Excel(name = "时间单位", width = 15) @ApiModelProperty(value = "时间单位") private String unit; /**版本*/ @Excel(name = "版本", width = 15) @ApiModelProperty(value = "版本") private String version; /**版本状态*/ @Excel(name = "版本状态", width = 15) @ApiModelProperty(value = "版本状态") private String versionStatus; /**审核状态*/ @Excel(name = "审核状态", width = 15) @ApiModelProperty(value = "审核状态") private String auditStatus; /**日历*/ @Excel(name = "日历", width = 15) @ApiModelProperty(value = "日历") private String calendarType; /**调整方式*/ @Excel(name = "调整方式", width = 15) @ApiModelProperty(value = "调整方式") private String arrangeWay; /**企业id*/ @Excel(name = "企业id", width = 15) @ApiModelProperty(value = "企业id") private String enterpriseId; /**租户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; /**备用字段1*/ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String maintenanceCycleUda1; /**备用字段2*/ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String maintenanceCycleUda2; /**备用字段3*/ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String maintenanceCycleUda3; /**备用字段4*/ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String maintenanceCycleUda4; /**备用字段5*/ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String maintenanceCycleUda5; @ApiModelProperty(value = "逾期处理方式") private String overdueDisposeMode; @ApiModelProperty(value = "依据日历") private String accordingCalendar; }