package com.sptg.gateway.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * title: MemberApi
 * package: com.sptg.estate.biz.security
 * description: 会员接口数据返回
 *
 *               
 *                     
 */
@Setter
@Getter
public class MemberApi {

    private Long id;

    private String name;

    private String tel;

    private Integer sex;
    /**
     * 认证状态：{ 0：未认证，1：待审审核，2：已认证 }
     */
    private Integer state;

    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;

    /**
     * 头像
     */
    private String headImage;

    /**
     * 生日
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date birthday;

    /**
     * 身份证
     */
    private String idcard;


    /**
     * 视频通话账号
     */
    private VideoCallAccountApi videoCallAccountApi;
}
