package com.bonus.material.scrap.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 报废审核人员配置对象 scrap_auditor_set
 * 
 * @author xsheng
 * @date 2024-10-16
 */


@Data
@ToString
public class ScrapAuditorSet extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 报废任务id */
    @Excel(name = "报废任务id")
    @ApiModelProperty(value = "报废任务id")
    private Long taskId;

    /** 部门id */
    @Excel(name = "部门id")
    @ApiModelProperty(value = "部门id")
    private Long deptId;

    /** 审核人id */
    @Excel(name = "审核人id")
    @ApiModelProperty(value = "审核人id")
    private Long userId;

    /** 0未审核1审核通过，2驳回 */
    @Excel(name = "0未审核1审核通过，2驳回")
    @ApiModelProperty(value = "0未审核1审核通过，2驳回")
    private String status;

    /** 所属公司 */
    @Excel(name = "所属公司")
    @ApiModelProperty(value = "所属公司")
    private Long companyId;

    /** 审核时间 */
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    @ApiModelProperty(value = "驳回原因")
    private String reasonRejection;


}
