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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 文件记录分发号,记录文件分发与线下对应的分发号对应，且标记到目标人物 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RecordAssignRespVO {

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

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

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

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

    @Schema(description = "分发号")
    @ExcelProperty("分发号")
    private String assignCode;

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

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

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

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

    @Schema(description = "是否收回")
    private Integer collectionFlag;

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

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

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

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

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

}