package org.jeecg.modules.regular.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.ExcelIgnore;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 检修规程详情
 * @Author: jeecg-boot
 * @Date:   2025-01-16
 * @Version: V1.0
 */
@Data
@TableName("bu_regular_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_regular_detail对象", description="检修规程详情")
public class RegularDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**createDept*/
	//@Excel(name = "createDept", width = 15)
    @ApiModelProperty(value = "createDept")
    private java.lang.String createDept;
	/**createBy*/
    @ApiModelProperty(value = "createBy")
    private java.lang.String createBy;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private java.util.Date createTime;
	/**updateBy*/
    @ApiModelProperty(value = "updateBy")
    private java.lang.String updateBy;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private java.util.Date updateTime;
	/**设备（类型）*/
	@Excel(name = "设备（类型）", width = 15, dictTable = "bu_device_type", dicText = "type_name", dicCode = "id")
	@Dict(dictTable = "bu_device_type", dicText = "type_name", dicCode = "id")
    @ApiModelProperty(value = "设备（类型）")
    private java.lang.String deviceTypeId;
	/**部件（类型）*/
	@Excel(name = "部件（类型）", width = 15)
    @ApiModelProperty(value = "部件（类型）")
    @Dict(dictTable = "bu_device_type", dicText = "type_name", dicCode = "id")
    private java.lang.String depard;
	/**检修要求*/
	@Excel(name = "检修要求", width = 15)
    @ApiModelProperty(value = "检修要求")
    private java.lang.String content;
	/**修程*/
	@Excel(name = "修程", width = 15)
    @ApiModelProperty(value = "修程")
    @Dict(dicCode = "repair_range")
    private java.lang.String repairRange;
	/**互检*/
	@Excel(name = "互检", width = 15)
    @ApiModelProperty(value = "互检")
    private java.lang.Integer mutualInspection;
	/**专检*/
	@Excel(name = "专检", width = 15)
    @ApiModelProperty(value = "专检")
    private java.lang.Integer personalizedInspection;
	/**序号*/
	@Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private java.lang.Integer dispOrder;
	/**技能级别要求*/
	@Excel(name = "技能级别要求", width = 15, dicCode = "skill_level")
	@Dict(dicCode = "skill_level")
    @ApiModelProperty(value = "技能级别要求")
    private java.lang.String skillLevel;
	/**检查*/
	@Excel(name = "检查", width = 15)
    @ApiModelProperty(value = "检查")
    private java.lang.String inspection;
	/**测量*/
	@Excel(name = "测量", width = 15)
    @ApiModelProperty(value = "测量")
    private java.lang.String measure;

    @ExcelIgnore
    private java.lang.String regularId;

    @ExcelIgnore
    @TableField(exist = false)
    private RegularInput measureItem;
    @Excel(name = "检查类型", width = 15, dicCode = "regular_check_type")
    @Dict(dicCode = "regular_check_type")
    @ApiModelProperty(value = "检查类型")
    private Integer checkType;
}
