package nju.seec.helper.vo; import lombok.Data; import nju.seec.helper.entity.Notice; import java.time.LocalDateTime; /** * @author cst */ @Data public class NoticeVO { private Long id; private Long courseId; private String title; private String content; private LocalDateTime createAt; private LocalDateTime updateAt; public NoticeVO(Notice notice) { this.id = notice.getId(); this.courseId = notice.getCourseId(); this.title = notice.getTitle(); this.content = notice.getContent(); this.createAt = notice.getCreateAt(); this.updateAt = notice.getUpdateAt(); } }