package com.easyproject.system.domain.vo;

import com.easyproject.common.annotation.Excel;
import com.easyproject.common.annotation.Excel.ColumnType;
import com.easyproject.common.annotation.Excel.Type;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 用户对象 client_member
 *
 * @author java001
 */
@Data
public class ClientMemberVo {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Excel(name = "用户序号", cellType = ColumnType.NUMERIC, prompt = "用户编号")
    private Long id;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户编号
     */
    @Excel(name = "用户编号")
    private String memberNum;

    /**
     * 用户账号
     */
    private String memberName;

    /**
     * 密码
     */
    private String password;

    /**
     * 用户地址
     */
    @Excel(name = "用户地址")
    private String memberAddress;

    /**
     * 用户头像
     */
    private String avatarUrl;

    /**
     * 邀请码
     */
    private String inviteCode;

    /**
     * 帐号状态（0正常 1停用）
     */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 最后登录IP
     */
    @Excel(name = "最后登录IP", type = Type.EXPORT)
    private String loginIp;

    /**
     * 最后登录时间
     */
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
    private Date loginDate;

    private String remark;




}
