package com.xinyilu.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinyilu.system.domain.classinfo.ClassInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 班级信息对象DTO
 * @Author 纪寒
 * @Date 2022-07-29 11:38:16
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ClassInfoDTO extends ClassInfo implements Serializable {
    private static final long serialVersionUID = -66963829029385014L;
    /**
     * 幼儿园名称
     */
    private String kindergartenName;

    /**
     * 幼儿园id集合
     */
    private List<Long> kindergartenIdList;

    /**
     * 班级id集合
     */
    private List<Long> classIdList;

    /**
     * 入学时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String entranceDateStr;
}
