Refactor
added possibility to get attributes
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package _11.asktpk.artisanconnectbackend.dto;
|
||||
|
||||
import _11.asktpk.artisanconnectbackend.utils.Enums;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Getter @Setter
|
||||
public class NoticeResponseDTO {
|
||||
private long noticeId;
|
||||
|
||||
private String title;
|
||||
|
||||
private Long clientId;
|
||||
|
||||
private String description;
|
||||
|
||||
private Double price;
|
||||
|
||||
private Enums.Category category;
|
||||
|
||||
private Enums.Status status;
|
||||
|
||||
private LocalDateTime publishDate;
|
||||
|
||||
private List<AttributeDto> attributes;
|
||||
|
||||
public NoticeResponseDTO() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user