Few improvements such as
application.properties.prod file new DTO for response when adding notice
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package _11.asktpk.artisanconnectbackend.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter @Setter
|
||||
public class NoticeAdditionDTO {
|
||||
public Long noticeId;
|
||||
public String message;
|
||||
|
||||
public NoticeAdditionDTO(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public NoticeAdditionDTO(Long noticeId, String message) {
|
||||
this.noticeId = noticeId;
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user