123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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 = "";
- }
- }
|