package org.jeecg.modules.workOrder.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
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-02-08
 * @Version: V1.0
 */
@Data
@TableName("bu_work_order_model")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_work_order_model对象", description="工单模板")
public class WorkOrderModel implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**班组/部门*/
	@Excel(name = "班组/部门", width = 15)
    @ApiModelProperty(value = "班组/部门")
    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, dicCode = "work_order")
    @ApiModelProperty(value = "工单类型")
    @Dict(dicCode = "work_order")
    private java.lang.Integer modelType;
	/**工单模板*/
	@Excel(name = "工单模板", width = 15)
    @ApiModelProperty(value = "工单模板")
    private java.lang.String modelUrl;
	/**修程/故障类型*/
	@Excel(name = "修程/故障类型", width = 15)
    @ApiModelProperty(value = "修程/故障类型")
    private java.lang.String regularId;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String ramark;
    @ApiModelProperty(value = "是否委外")
    private String isOutsource;

    @TableField(exist = false)
    private String regularOrFault;
}
