package com.bonus.sgzb.material.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(description="报废审核人员配置")
@Data
public class ScrapAuditorSet {


    /**
     * 报废审核人员配置ID
     */
    @ApiModelProperty(value = "报废审核人员配置ID")
    private Integer id;

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

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    private String deptName;

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

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

    /**
     * 组织Id
     */
    @ApiModelProperty(value = "组织Id")
    private Integer companyId;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date auditTime;

    /**
     *驳回原因
     */
    private String reasonRejection;
}
