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

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 SupplierEvaluationAtPageReqVO extends PageParam {

    @Schema(description = "评价id", example = "6160")
    private Long supplierEvaluationId;

    @Schema(description = "目标对象id", example = "24374")
    private Long targetId;

    @Schema(description = "目标对象类型,业务类型：设备实例、物料试剂、检定校准记录等", example = "2")
    private String targetType;

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

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

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

}