professor and education updated
This commit is contained in:
@ -25,19 +25,19 @@ public class Course extends BaseEntity {
|
||||
@Column(columnDefinition = "TEXT", nullable = false)
|
||||
private String description;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Column
|
||||
private String duration;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Column
|
||||
private Integer seats;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Column
|
||||
private String category;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Column
|
||||
private String level;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Column
|
||||
private String instructor;
|
||||
|
||||
private String price;
|
||||
|
||||
@ -6,10 +6,10 @@ import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import net.shyshkin.study.fullstack.supportportal.backend.domain.WorkingStatus;
|
||||
import net.shyshkin.study.fullstack.supportportal.backend.domain.ProfessorCategory;
|
||||
// Add these imports at the top
|
||||
import net.shyshkin.study.fullstack.supportportal.backend.domain.dto.SkillDto;
|
||||
import net.shyshkin.study.fullstack.supportportal.backend.domain.dto.AwardDto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
@ -34,7 +34,10 @@ public class ProfessorDto {
|
||||
private String officeLocation;
|
||||
private WorkingStatus status;
|
||||
private ProfessorCategory category;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "UTC")
|
||||
private LocalDateTime joinDate;
|
||||
|
||||
private MultipartFile profileImage;
|
||||
|
||||
// Additional fields for Next.js integration
|
||||
|
||||
Reference in New Issue
Block a user