package com.zhongshu.card.client.model.school;

import com.zhongshu.card.client.model.base.SuperParam;
import com.zhongshu.card.client.type.BookState;
import com.zhongshu.card.client.type.OrganizationUserType;
import com.zhongshu.card.client.type.Sex;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author TRX
 * @date 2024/6/7
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookInfoAddParam extends SuperParam {
    @Schema(description = "类型  学生 、教师")
    OrganizationUserType userType;

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

    @Schema(description = "部门，教师使用")
    private String departmentId;

    @Schema(description = "性别")
    private Sex sex;

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

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

    @Schema(description = "教师 入校时间")
    private Long inSchoolTime;

    @Schema(description = "学号 学生使用")
    private String code;

    @Schema(description = "学生：班级")
    private String className;

    @Schema(description = "学生：入学年份")
    private Long inSchoolYear;

    @Schema(description = "状态")
    private BookState bookState;
}
