package com.srs.stureg.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.srs.common.annotation.Excels;
import com.srs.common.annotation.Sensitive;
import com.srs.common.core.domain.entity.SysDept;
import com.srs.common.enums.DesensitizedType;
import com.srs.comprehensive.domain.SrsMajors;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.srs.common.annotation.Excel;
import com.srs.common.core.domain.BaseEntity;

/**
 * 新生报到学生注册信息对象 srs_stu_reg
 *
 * @author srs
 * @date 2023-07-24
 */
@Data
@TableName("srs_stu_reg")
public class SrsStuReg extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    public String dorm;

    @TableField(exist = false)
    public String className;

    @TableField(exist = false)
    public String majorName;

    @TableField(exist = false)
    public String deptName;

    @TableField("SYD")
    public String SYD;


    @TableField("is_change_pwd")
    public String isChangePwd;

    @TableField("is_change_SJHM")
    private String isChangeSJHM;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    @TableField("XSXM")
    private String XSXM;

    /**
     * 考生号
     */
    @Excel(name = "考生号")
    @TableField("KSH")
    private String KSH;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    @TableField("SFZH")
    @Sensitive(desensitizedType = DesensitizedType.ID_CARD)
    private String SFZH;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    @TableField("SJH")
    @Sensitive(desensitizedType = DesensitizedType.PHONE)
    private String SJH;

    /**
     * 性别
     */
    @Excel(name = "性别")
    @TableField("XB")
    private String XB;

    /**
     * 政治面貌
     */
    @Excel(name = "政治面貌")
    @TableField("ZZMM")
    private String ZZMM;

    /**
     * 民族
     */
    @Excel(name = "民族")
    @TableField("MZ")
    private String MZ;

    /**
     * 校编学号
     */
    @Excel(name = "校编学号")
    @TableField("XH")
    private String XH;

    /**
     * 学院
     */
    @Excel(name = "学院")
    @TableField("XY")
    private String XY;

    /**
     * 学院代码
     */
    @Excel(name = "学院代码")
    @TableField("XYDM")
    private String XYDM;

    /**
     * 专业
     */
    @Excel(name = "专业")
    @TableField("ZY")
    private String ZY;

    /**
     * 专业代码
     */
    @Excel(name = "专业代码")
    @TableField("ZYDM")
    private String ZYDM;

    /**
     * 班级
     */
    @Excel(name = "班级")
    @TableField("BJ")
    private String BJ;

    /**
     * 班级代码
     */
    @Excel(name = "班级代码")
    @TableField("BJDM")
    private String BJDM;

    /**
     * 毕业学校
     */
    @Excel(name = "毕业学校")
    @TableField("last_school")
    private String lastSchool;

    /**
     * 毕业学校所在地
     */
    @Excel(name = "毕业学校所在地")
    @TableField("last_school_addr")
    private String lastSchoolAddr;

    /**
     * 家庭联系人姓名
     */
    @Excel(name = "家庭联系人姓名")
    @TableField("fam_name")
    private String famName;

    /**
     * 与本人关系
     */
    @Excel(name = "与本人关系")
    @TableField("fam_relation")
    private String famRelation;

    /**
     * 家庭联系人电话
     */
    @Excel(name = "家庭联系人电话")
    @TableField("fam_phone")
    @Sensitive(desensitizedType = DesensitizedType.PHONE)
    private String famPhone;

    /**
     * 家庭现居地址
     */
    @Excel(name = "家庭现居地址")
    @TableField("fam_now_addr")
    private String famNowAddr;

    /**
     * 户籍所在地
     */
    @Excel(name = "户籍所在地")
    @TableField("sfz_addr")
    private String sfzAddr;

    /**
     * 是否申请助学贷款 1：是，2：否
     */
    @Excel(name = "是否申请助学贷款")
    @TableField("is_loan")
    private String isLoan;

    /**
     * 是否申请助学贷款 1：是，0：否
     */
    @Excel(name = "是否是定向生")
    @TableField("is_direction")
    private String isDirection;

    @Excel(name = "贷款编号")
    @TableField("loan_no")
    private String loanNo;


    /**
     * 学院id
     */
    private Long deptId;

    /**
     * 专业id
     */
    private Long majorId;

    /**
     * 所属班级ID
     */
    private Long classId;

    @Excel(name = "是否退伍复学")
    @TableField("is_retired")
    private String isRetired;
    @Excel(name = "建档立卡户")
    @TableField("is_filing")
    private String isFiling;
    @Excel(name = "是否残疾")
    @TableField("is_disability")
    private String isDisability;
    @Excel(name = "残疾说明")
    @TableField("disable_descript")
    private String disableDescript;
    @Excel(name = "是否吸烟")
    @TableField("is_smoke")
    public String isSmoke;
    @Excel(name = "是否早睡")
    @TableField("is_early")
    public String isEarly;
    @Excel(name = "兴趣特长")
    @TableField("hobby")
    public String hobby;
    /**
     * 注册状态
     */
    @Excel(name = "注册状态")
    @TableField("reg_status")
    private String regStatus;

    /**
     * 删除标志（0代表存在
     */
    @TableField("del_flag")
    private String delFlag;
    @TableField("LQZY")
    private String LQZY;
    @TableField("KLDM")
    private String KLDM;
    @TableField("PCDM")
    private String PCDM;
    @TableField("TDDW")
    private String TDDW;
    //    @TableField("ZYDH")
//    private String ZYDH;
    @TableField("XZNX")
    private String XZNX;
    @TableField("KLMC")
    private String KLMC;
    @TableField("TDDWMC")
    private String TDDWMC;
    @TableField("TDCJ")
    private Double TDCJ;

}
