package com.bonus.material.scrap.domain.vo;

import com.bonus.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author : 阮世耀
 * @version : 1.0
 * @CreateTime: 2024-12-13  13:52
 */
@Data
public class ScrapTaskListVo {

    @ApiModelProperty(value = "id")
    private String ids;

    @ApiModelProperty(value = "ids结果集")
    private List<Long> idList;

    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "任务状态")
    private Byte taskStatus;

    @ApiModelProperty(value = "任务类型")
    private Byte taskType;

    @ApiModelProperty(value = "组织id")
    private Long companyId;

    @ApiModelProperty(value = "协议id")
    private Long agreementId;

    @ApiModelProperty(value = "规格型号")
    private String typeName;

    @ApiModelProperty(value = "退料单位名称")
    @Excel(name = "退料单位")
    private String backUnit;

    @ApiModelProperty(value = "退料工程名称")
    @Excel(name = "工程名称")
    private String backPro;

    @ApiModelProperty(value = "报废单号")
    @Excel(name = "报废单号")
    private String scrapCode;

    @ApiModelProperty(value = "维修单号")
    @Excel(name = "维修单号")
    private String repairCode;

    @ApiModelProperty(value = "机具类型")
    @Excel(name = "物资类型")
    private String type;

    @ApiModelProperty(value = "任务创建人昵称")
    @Excel(name = "提交人")
    private String createName;

    @ApiModelProperty(value = "任务创建人")
    private Long createBy;

    @ApiModelProperty(value = "任务创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "审核人")
    private Long auditBy;

    @ApiModelProperty(value = "审核人")
    @Excel(name = "审核人")
    private String auditByName;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;

    @ApiModelProperty(value = "任务状态名称")
    @Excel(name = "状态")
    private String taskStatusName;

    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty(value = "关键字")
    private String keyWord;

}
