@@ -1,6 +1,7 @@
|
||||
package ru.soune.nocopy.dto.tarriff;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@@ -9,6 +10,7 @@ import java.time.LocalDateTime;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class TariffInfoDTO {
|
||||
private String id;
|
||||
private String status;
|
||||
@@ -16,4 +18,9 @@ public class TariffInfoDTO {
|
||||
private LocalDateTime endTariff;
|
||||
private Long tariffId;
|
||||
private String tariffName;
|
||||
private Integer tokens;
|
||||
private Long maxFileOnDisk;
|
||||
private Long currentFileOnDisk;
|
||||
private Integer currentFileCounts;
|
||||
private Integer maxFileCounts;
|
||||
}
|
||||
@@ -5,7 +5,7 @@ import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import ru.soune.nocopy.dto.tarriff.TariffDTO;
|
||||
import ru.soune.nocopy.entity.tarif.TariffInfo;
|
||||
import ru.soune.nocopy.dto.tarriff.TariffInfoDTO;
|
||||
import ru.soune.nocopy.entity.user.GenderType;
|
||||
import ru.soune.nocopy.entity.user.SubscriptionType;
|
||||
|
||||
@@ -28,5 +28,5 @@ public class UserDTO {
|
||||
private LocalDateTime createdAt;
|
||||
private SubscriptionType subscriptionType;
|
||||
private List<TariffDTO> tariffs;
|
||||
private TariffInfo tariffInfo;
|
||||
private TariffInfoDTO tariffInfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user