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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 文件记录分发号,记录文件分发与线下对应的分发号对应，且标记到目标人物新增/修改 Request VO")
@Data
public class RecordAssignSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28660")
    private Long id;

    @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;

    //=============================

    private Integer isModify; // 是否更改

}