package com.iqser.red.service.persistence.service.v1.api.shared.model.dossiertemplate.dossier;

import java.time.OffsetDateTime;
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iqser.red.service.persistence.service.v1.api.shared.model.dossiertemplate.DownloadFileType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Dossier {

    private String id;
    private String dossierName;
    private OffsetDateTime date;
    private String description;
    private String ownerId;
    private Set<String> memberIds = new HashSet<>();
    private Set<String> approverIds = new HashSet<>();
    private Set<DownloadFileType> downloadFileTypes = new HashSet<>();
    private Set<String> reportTemplateIds = new HashSet<>();
    private Long watermarkId;
    private Long previewWatermarkId;
    private OffsetDateTime softDeletedTime;
    private OffsetDateTime hardDeletedTime;
    private OffsetDateTime startDate;
    private OffsetDateTime dueDate;
    private OffsetDateTime archivedTime;
    private String dossierTemplateId;
    private String dossierStatusId;
    private DossierVisibility visibility;

    public String getDossierId(){
        return id;
    }
}
