package com.zt.plat.module.qms.office.supplier.controller.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 供应商评价分页 Request VO")
@Data
public class SupplierEvaluationPageReqVO extends PageParam {

    @Schema(description = "供应商ID", example = "3346")
    private Long supplierId;

    @Schema(description = "表单模板id", example = "32304")
    private Long formId;

    @Schema(description = "评价内容")
    private String content;

    @Schema(description = "评价结论")
    private String conclusion;

    @Schema(description = "评价人")
    private String evaluator;

    @Schema(description = "评价人id", example = "25943")
    private Long evaluatorId;

    @Schema(description = "评价日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] evaluationDate;

    @Schema(description = "流程审批状态", example = "2")
    private String flowStatus;

    @Schema(description = "流程实例id", example = "24931")
    private String flowInstanceId;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    //==============扩展字段===============
    @Schema(description = "供应商名称")
    private String supplierName;

    @Schema(description = "审批签名")
    private String signatureInfo;


}