package com.lesingle.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * 学生实体
 */
@Schema(description = "学生实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("student")
public class Student extends BaseEntity {

    @Schema(description = "租户 ID")
    private Long tenantId;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "出生日期")
    private LocalDate birthDate;

    @Schema(description = "头像 URL")
    private String avatarUrl;

    @Schema(description = "年级")
    private String grade;

    @Schema(description = "学号")
    private String studentNo;

    @Schema(description = "阅读水平")
    private String readingLevel;

    @Schema(description = "兴趣爱好")
    private String interests;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "状态")
    private String status;

}
