Added controller for FileUpload, refactor of main package, try to add forum system.
This commit is contained in:
1 parent
cf24d07a78
commit
4a9efbb06d
38 files changed
+165
-78
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package site.easystartup.web.project.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class ProjectDto implements Serializable {
|
||||
private final Long projectId;
|
||||
private final String coverLink;
|
||||
@Size(min = 3, max = 100, message = "Title should be no less 3 and no more 100 signs")
|
||||
@NotNull
|
||||
private final String title;
|
||||
@Size(min = 50, message = "Description should be no less 50 signs")
|
||||
@NotNull
|
||||
private final String description;
|
||||
private final int commercialStatus;
|
||||
@NotNull
|
||||
private final String technology;
|
||||
private final List<ParticipantDto> participants;
|
||||
private final LocalDateTime createdDate;
|
||||
}
|
||||
Reference in new issue
Block a user