package com.dsh.app.entity;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* <p>
|
* 学员信息
|
* </p>
|
*
|
* @author administrator
|
* @since 2023-06-14
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_student")
|
public class TStudent extends Model<TStudent> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
private Integer appUserId;
|
/**
|
* 学员姓名
|
*/
|
private String name;
|
/**
|
* 学员电话
|
*/
|
private String phone;
|
/**
|
* 生日
|
*/
|
private Date birthday;
|
/**
|
* 性别(1=男,2=女)
|
*/
|
private Integer sex;
|
/**
|
* 身高
|
*/
|
private Double height;
|
/**
|
* 体重
|
*/
|
private Double weight;
|
/**
|
* bmi健康值
|
*/
|
private Double bmi;
|
/**
|
* 身份证号
|
*/
|
private String idCard;
|
/**
|
* 体侧表
|
*/
|
private String lateralSurface;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
/**
|
* 头像
|
*/
|
private String headImg;
|
/**
|
* 是否默认 1默认 2不是默认
|
*/
|
private Integer isDefault;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|