package yangtz.cs.liu.wechat.service.attendance;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class EducationVO {

    private Long studentId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @NotNull(message = "日期不能为空")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patrolDate;

    /*
    * 一天的德育
    * */
    private List<SchoolEducationVO> schoolEducationVOList;
}
