ip project fixes/additions
This commit is contained in:
15
src/main/java/ru/ip/example/domain/SubscribeDto.java
Normal file
15
src/main/java/ru/ip/example/domain/SubscribeDto.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package ru.ip.example.domain;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description = "Информация о подписке")
|
||||
public class SubscribeDto {
|
||||
|
||||
@Schema(description = "Месячная плата")
|
||||
private Integer sum;
|
||||
|
||||
@Schema(description = "Название подписки")
|
||||
private String name;
|
||||
}
|
||||
Reference in New Issue
Block a user