fuliqi
2024-07-16 38f9471ecf47b7c15b352113bc0f5a2ec1e64e7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.ycl.jxkg.domain.vo;
 
import com.ycl.jxkg.domain.base.AbsVo;
import com.ycl.jxkg.domain.entity.ClassesNotify;
import java.util.List;
import org.springframework.lang.NonNull;
import org.springframework.beans.BeanUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
 
/**
 * 班级通知展示
 *
 * @author xp
 * @since 2024-06-05
 */
@Data
public class ClassesNotifyVO extends AbsVo {
 
    /** 班级 */
    private Integer classesId;
 
    /** 发出通知者 */
    private Integer teacherId;
 
    /** 通知内容 */
    private String notifyContent;
 
    /**  */
    private Date createTime;
 
    public static ClassesNotifyVO getVoByEntity(@NonNull ClassesNotify entity, ClassesNotifyVO vo) {
        if(vo == null) {
            vo = new ClassesNotifyVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}