package com.zt.plat.module.qms.common.data.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 DataOpinionPageReqVO extends PageParam {

    @Schema(description = "业务数据ID", example = "4483")
    private Long businessId;

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

    @Schema(description = "流程活动code")
    private String nodeKey;

    @Schema(description = "流程活动名", example = "王五")
    private String nodeName;

    @Schema(description = "自定义key")
    private String customKey;

    @Schema(description = "审批人ID", example = "23093")
    private Long opinionUserId;

    @Schema(description = "审批人姓名", example = "赵六")
    private String opinionUserName;

    @Schema(description = "审批人部门ID", example = "2389")
    private Long opinionDepartmentId;

    @Schema(description = "审批人部门名", example = "赵六")
    private String opinionDepartmentName;

    @Schema(description = "审批时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] opinionTime;

    @Schema(description = "意见内容")
    private String opinionContent;

    @Schema(description = "签名id", example = "29049")
    private Long opinionSignatureId;

    @Schema(description = "禁用状态,0-启用；1-禁用")
    private String cancelFlag;

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

    @Schema(description = "排序号")
    private Integer sortNo;

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

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


}