package org.jeecg.modules.eam.entity; import com.baomidou.mybatisplus.annotation.TableField; 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.apache.poi.hpsf.Decimal; 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; import java.math.BigDecimal; import java.util.Date; /** * @Description: mom_eam_inspection_cycle * @Author: cj * @Date: 2023-04-06 * @Version: V1.0 */ @Data @TableName("mom_eam_inspection_cycle") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="点检周期规则", description="点检周期规则") public class InspectionCycle 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 firstInspectionTime; /**提前时间*/ @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 calendar; /**开工条件*/ @Excel(name = "开工条件", width = 15) @ApiModelProperty(value = "开工条件") private String startCondition; /**调整方式*/ @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 inspectionCycleUda1; /**备用字段2*/ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String inspectionCycleUda2; /**备用字段3*/ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String inspectionCycleUda3; /**备用字段4*/ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String inspectionCycleUda4; /**备用字段5*/ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String inspectionCycleUda5; /**版本数据ID*/ @Excel(name = "版本数据ID", width = 15) @ApiModelProperty(value = "版本数据ID") private String dataVersionId; @ApiModelProperty(value = "逾期处理方式") private String overdueDisposeMode; @ApiModelProperty(value = "依据日历") private String accordingCalendar; }