package com.dsh.account.dto;
|
|
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.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 学员信息
|
* </p>
|
*
|
* @author administrator
|
* @since 2023-06-14
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_student")
|
public class TStudentDto {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
@TableField("appUserId")
|
private Integer appUserId;
|
/**
|
* 学员姓名
|
*/
|
@TableField("name")
|
private String name;
|
/**
|
* 学员电话
|
*/
|
@TableField("phone")
|
private String phone;
|
/**
|
* 生日
|
*/
|
@TableField("birthday")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date birthday;
|
/**
|
* 性别(1=男,2=女)
|
*/
|
@TableField("sex")
|
private Integer sex;
|
/**
|
* 身高
|
*/
|
@TableField("height")
|
private Double height;
|
/**
|
* 体重
|
*/
|
@TableField("weight")
|
private Double weight;
|
/**
|
* bmi健康值
|
*/
|
@TableField("bmi")
|
private Double bmi;
|
/**
|
* 身份证号
|
*/
|
@TableField("idCard")
|
private String idCard;
|
/**
|
* 体侧表
|
*/
|
@TableField("lateralSurface")
|
private String lateralSurface;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("state")
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@TableField("insertTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date insertTime;
|
/**
|
* 头像
|
*/
|
@TableField("headImg")
|
private String headImg;
|
/**
|
* 是否默认 1默认 2不是默认
|
*/
|
@TableField("isDefault")
|
private Integer isDefault;
|
|
|
private String userName;
|
|
private String province;
|
|
private String city;
|
|
|
}
|