package com.template.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ceshi
 * @since 2023-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SmartUser对象", description="")
public class SmartUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "编号（学号）")
    private String cardNo;

    @ApiModelProperty(value = "时间组")
    private Integer timeGroupId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份ID")
    private Integer identityId;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "性别  女：0   男：1")
    private Integer sexId;

    @ApiModelProperty(value = "部门ID")
    private Integer departmentId;

    @ApiModelProperty(value = "人脸照片")
    private String headImage;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "学院")
    private String college;

    @ApiModelProperty(value = "专业")
    private String speciality;

    @ApiModelProperty(value = "班级")
    private Integer schoolClass;

    @ApiModelProperty(value = "校区")
    private String campus;

    @ApiModelProperty(value = "宿舍号")
    private String dormitoryNumber;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "关联人 被关联用户的ID 多个用户用逗号隔开")
    private String affiliate;

    @ApiModelProperty(value = "职称")
    private String title;

    @ApiModelProperty(value = "家庭住址")
    private String address;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "生源地")
    private String ofStudent;

    @ApiModelProperty(value = "毕业学校")
    private String graduate;

    @ApiModelProperty(value = "职务")
    private Integer duties;

    @ApiModelProperty(value = "是否推送公众号信息  不推送：0 推送：1")
    private Integer isPush;

    @ApiModelProperty(value = "是否注销  未注销：0  注销：1")
    private Integer isCancel;

    @ApiModelProperty(value = "微信openId")
    private String openId;

    @ApiModelProperty(value = "小程序openId")
    private String xOpenId;

    @ApiModelProperty(value = "公众号openId")
    private String gzhOpenId;

    @ApiModelProperty(value = "希沃学生UID")
    private String xwStudentUid;

    @ApiModelProperty(value = "百胜学生编号")
    private String bsStudentNo;

    @ApiModelProperty(value = "希沃教师工号")
    private String xwTeacherCode;

    @ApiModelProperty(value = "百胜教师编号")
    private String bsStaffCode;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "创建人员")
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @ApiModelProperty(value = "更新人员")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUser;

    @ApiModelProperty(value = "逻辑删除 未删除：0；删除：1")
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    private Integer deleted;


}
