package org.jeecg.modules.toolCheck.entity;

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

import com.baomidou.mybatisplus.annotation.*;
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-03-25
 * @Version: V1.0
 */
@Data
@TableName("bu_tool_check")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_tool_check对象", description="工具委外检定")
public class ToolCheck implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;

    @ExcelIgnore
    @TableField(exist = false)
    private String toolName;
	/**工具*/
	@Excel(name = "工具", width = 15)
    @ApiModelProperty(value = "工具")
    private java.lang.String toolId;
	/**检定机构*/
	@Excel(name = "检定机构", width = 15)
    @ApiModelProperty(value = "检定机构")
    private java.lang.String certificationBody;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "check_status")
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "check_status")
    private java.lang.Integer status;
	/**审批状态*/
	@Excel(name = "审批状态", width = 15, dicCode = "apply_status")
    @ApiModelProperty(value = "审批状态")
    @Dict(dicCode = "apply_status")
    private java.lang.Integer aduitStatus;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private java.lang.String aduitBy;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**检定完成时间*/
	@Excel(name = "检定完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检定完成时间")
    private java.util.Date finishTime;
	/**检定报告编号*/
	@Excel(name = "检定报告编号", width = 15)
    @ApiModelProperty(value = "检定报告编号")
    private java.lang.String certificationCode;
	/**检定报告*/
	@Excel(name = "检定报告", width = 15)
    @ApiModelProperty(value = "检定报告")
    private java.lang.String certificationReport;
}
