package com.zt.plat.module.qms.resource.record.controller.admin.recordassign.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;
import java.util.*;
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 RecordAssignPageReqVO extends PageParam {

//    @Schema(description = "申请明细ID", example = "13369")
//    private Long applyDetailId;

    @Schema(description = "目标类型,人/部门", example = "2")
    private String targetType;

    @Schema(description = "目标名称", example = "ZT")
    private String targetName;

    @Schema(description = "目标ID", example = "3088")
    private Long targetId;

    @Schema(description = "分发开始时间")
    private String assignCode;

    @Schema(description = "分发结束时间")
    private LocalDateTime assignStartDate;

    @Schema(description = "是否收回")
    private LocalDateTime assignEndDate;

    @Schema(description = "分发号")
    private Integer collectionFlag;

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

    @Schema(description = "长期有效")
    private String permanently;

    @Schema(description = "原始父级Id")
    private String mainId;

    @Schema(description = "当前版标志")
    private Integer currentFlag;

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

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

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

}