package com.lesingle.creation.dto.student;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * 更新学生 DTO
 */
@Data
@Schema(description = "更新学生请求")
public class UpdateStudentDTO {

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "邮箱")
    private String email;

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

    @Schema(description = "行政班级 ID")
    private Long classId;

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

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "性别：1-男，2-女")
    private Integer gender;

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

    @Schema(description = "入学日期")
    private LocalDate enrollmentDate;

    @Schema(description = "家长姓名")
    private String parentName;

    @Schema(description = "家长电话")
    private String parentPhone;

    @Schema(description = "家庭地址")
    private String address;

    @Schema(description = "学生描述")
    private String description;

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;
}
