package com.iqser.red.service.persistence.service.v1.api.shared.model.annotations.entitymapped;

import java.time.OffsetDateTime;

import com.iqser.red.service.persistence.service.v1.api.shared.model.annotations.AnnotationStatus;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ManualLegalBasisChange extends BaseAnnotation {

    private String section;
    private String value;
    private String legalBasis;


    @Builder
    public ManualLegalBasisChange(String annotationId,
                                  String fileId,
                                  String user,
                                  AnnotationStatus status,
                                  OffsetDateTime requestDate,
                                  OffsetDateTime processedDate,
                                  OffsetDateTime softDeletedTime,
                                  String legalBasis,
                                  String section,
                                  String value) {

        super(annotationId, fileId, user, status, requestDate, processedDate, softDeletedTime);
        this.legalBasis = legalBasis;
        this.section = section;
        this.value = value;
    }

}
