package com.softwarebr.nunu.json.api.user;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
/**
 * 用户
 * @Author lilin
 * @Date 2020-02-17 14:07:07
 */
@Data
@ApiModel
public class MemberResult {

    @ApiModelProperty(value = "id", required = true, example = "1")
    private Long id;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", required = true, example = "2018-03-12 21:32:33")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "手机号码", required = true, example = "")
    private String phone;

    @ApiModelProperty(value = "昵称", required = true, example = "")
    private String nickname;

    @ApiModelProperty(value = "头像", required = true, example = "")
    private String headImgUri;

    @ApiModelProperty(value = "身份(1用户 2企业)", required = true, example = "")
    private Integer identityType;

    @ApiModelProperty(value = "省份", required = true, example = "")
    private String customerName;

    @ApiModelProperty(value = "姓名", required = true, example = "")
    private String username;

    @ApiModelProperty(value = "企业名称", required = true, example = "")
    private String companyName;

    @ApiModelProperty(value = "微信openId", required = true, example = "")
    private String wxOpenId;

}
