StudentDO.java 1.05 KB
package com.meishu.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.meishu.util.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 白名单
 * </p>
 *
 * @author Tuyp
 * @since 2021-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("student")
public class StudentDO extends BaseModel {

    private static final long serialVersionUID = 1L;

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

    private String wechatImg;

    /**
     * openid
     */
    private String openid;

    /**
     * 手机号
     */
    private String telephone;

    /**
     * 姓名
     */
    private String username;

    /**
     * 0:禁用  1:弃用
     */
    private String status;

    /**
     * 家长手机1
     */
    private String parentTelephone1;

    /**
     * 家长电话2
     */
    private String parentTelephone2;

    /**
     * 校区id
     */
    private Long campusId;


}