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

import com.zt.plat.module.qms.core.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 供应商评价 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SupplierEvaluationRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "31678")
    @ExcelProperty("主键")
    private Long id;

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

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

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

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

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

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

    @Schema(description = "评价日期")
    @ExcelProperty("评价日期")
    private LocalDateTime evaluationDate;

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

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

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

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

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


}