package com.xinyilu.system.domain.vo;

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

import java.io.Serializable;

/**
 * @Description 班级信息前段返回值实体类
 * @Author 纪寒
 * @Date 2022-08-07 16:36:32
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ClassInfoVO extends ClassInfo implements Serializable {
    private static final long serialVersionUID = 7122851129288686733L;
    /**
     * 幼儿园名称
     */
    private String kindergartenName;

    /**
     * 入学年份
     */
    private Long entranceYear;

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