package com.dsh.course.feignclient.account.model;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 教练
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-07-05
|
*/
|
@Data
|
public class Coach {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 省
|
*/
|
private String province;
|
/**
|
* 省编号
|
*/
|
private String provinceCode;
|
/**
|
* 市
|
*/
|
private String city;
|
/**
|
* 市编号
|
*/
|
private String cityCode;
|
/**
|
* 城市管理员id
|
*/
|
private Integer cityManagerId;
|
/**
|
* 教练类型id
|
*/
|
private Integer coachTypeId;
|
/**
|
* 姓名
|
*/
|
private String name;
|
/**
|
* 生日
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date birthday;
|
/**
|
* 性别(1=男,2=女)
|
*/
|
private Integer gender;
|
/**
|
* 电话
|
*/
|
private String phone;
|
/**
|
* 身份证号码
|
*/
|
private String idcard;
|
/**
|
* 身高(厘米)
|
*/
|
private Double height;
|
/**
|
* 体重(KG)
|
*/
|
private Double weight;
|
/**
|
* 毕业院校
|
*/
|
private String graduateSchool;
|
/**
|
* 毕业证照片
|
*/
|
private String diploma;
|
/**
|
* 资格证书(多个逗号分隔)
|
*/
|
private String certificate;
|
/**
|
* 证书照片
|
*/
|
private String certificateImg;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private Date insertTime;
|
|
}
|