package com.aip.gateway.api.model.response;

import com.aip.gateway.api.utils.TimeUtils;
import io.swagger.annotations.ApiModel;
import lombok.*;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
//@Data
@Getter
@Setter
@ToString
//@Builder
@ApiModel("ResponseInfo(FILE INFO 응답")
public class ResponseInfo extends ResponseBase {

    private boolean isLabeled;
    private boolean isProtected;

    private Date creationTime;
    private String owner;
    private String contentId;
    private String labelId;
    private String labelName;
    private String templateId;
    private String templateName;

    public ResponseInfo(int errorCode, String errorMessage) {
        super(errorCode, errorMessage, "", "", "", "", "", "", "", 0, "", "", "", "", "", 0);
        isLabeled = false;
        isProtected = false;
        creationTime = TimeUtils.getCurrentDate();
        owner = "";
        contentId = "";
        labelId = "";
        labelName = "";
        templateId = "";
        templateName = "";
    }

}
