package com.pine.admin.modules.business.entity;

        import java.math.BigDecimal;
    import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 会员表
 *
 * @author Pine
 * @email 771190883@qq.com
 * @date 2019-10-14 09:55:13
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel(value = "会员表对象", description = "会员表对象")
public class Customer implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", name = "id")
    private Long id;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", name = "username")
    private String username;
    /**
     * 用户密码
     */
    @ApiModelProperty(value = "用户密码", name = "password")
    private String password;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", name = "nickname")
    private String nickname;
    /**
     * 头像地址
     */
    @ApiModelProperty(value = "头像地址", name = "image")
    private String image;
    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名", name = "relename")
    private String relename;
    /**
     * 身份证
     */
    @ApiModelProperty(value = "身份证", name = "cardid")
    private String cardid;
    /**
     * 性别  0 保密 1男 2女 默认0
     */
    @ApiModelProperty(value = "性别  0 保密 1男 2女 默认0", name = "gender")
    private String gender;
    /**
     * 生日
     */
    @ApiModelProperty(value = "生日", name = "birthday")
    private Date birthday;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", name = "mobile")
    private String mobile;
    /**
     * 邮箱地址
     */
    @ApiModelProperty(value = "邮箱地址", name = "email")
    private String email;
    /**
     * 更改中的邮箱（绑定新邮箱使用）
     */
    @ApiModelProperty(value = "更改中的邮箱（绑定新邮箱使用）", name = "modifiedEmail")
    private String modifiedEmail;
    /**
     * 校验码（绑定新邮箱时使用）
     */
    @ApiModelProperty(value = "校验码（绑定新邮箱时使用）", name = "checkCode")
    private String checkCode;
    /**
     * 省
     */
    @ApiModelProperty(value = "省", name = "province")
    private Long province;
    /**
     * 市
     */
    @ApiModelProperty(value = "市", name = "city")
    private Long city;
    /**
     * 区
     */
    @ApiModelProperty(value = "区", name = "county")
    private Long county;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址", name = "detailaddress")
    private String detailaddress;
    /**
     * 兴趣爱好
     */
    @ApiModelProperty(value = "兴趣爱好", name = "interest")
    private String interest;
    /**
     * 店铺id  平台的为0  默认为平台
     */
    @ApiModelProperty(value = "店铺id  平台的为0  默认为平台", name = "storeId")
    private Long storeId;
    /**
     * 1 普通用户 2 商家店铺用户 3 店铺员工
     */
    @ApiModelProperty(value = "1 普通用户 2 商家店铺用户 3 店铺员工", name = "type")
    private String type;
    /**
     * 总的消费金额
     */
    @ApiModelProperty(value = "总的消费金额", name = "consumptionAmount")
    private BigDecimal consumptionAmount;
    /**
     * 预存款支付密码
     */
    @ApiModelProperty(value = "预存款支付密码", name = "paypassword")
    private String paypassword;

    /**
     * 用户状态 1 正常 2 冻结  3 未启用 默认1
     */
    @ApiModelProperty(value = "用户状态 1 正常 2 冻结  3 未启用 默认1 ", name = "status")
    private String status;
    /**
     * 会员签到次数
     */
    @ApiModelProperty(value = "会员签到次数", name = "signNum")
    private Integer signNum;
    /**
     * 手机是否验证  0 否 1 验证 默认0
     */
    @ApiModelProperty(value = "手机是否验证  0 否 1 验证 默认0 ", name = "isMobileVerification")
    private String isMobileVerification;
    /**
     * 邮箱是否验证   0 否 1 验证  默认0
     */
    @ApiModelProperty(value = "邮箱是否验证   0 否 1 验证  默认0  ", name = "isEmailVerification")
    private String isEmailVerification;
    /**
     * 错误登录的次数
     */
    @ApiModelProperty(value = "错误登录的次数", name = "loginErrorCount")
    private Integer loginErrorCount;
    /**
     * 删除标记 0 未删除 1删除 默认0
     */
    @ApiModelProperty(value = "删除标记 0 未删除 1删除 默认0 ", name = "delFlag")
    private String delFlag;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", name = "modifyTime")
    private Date modifyTime;
    /**
     * 删除时间
     */
    @ApiModelProperty(value = "删除时间", name = "delTime")
    private Date delTime;
    /**
     * 锁定时间
     */
    @ApiModelProperty(value = "锁定时间", name = "lockTime")
    private Date lockTime;
    /**
     * 最近登陆时间
     */
    @ApiModelProperty(value = "最近登陆时间", name = "lastLoginTime")
    private Date lastLoginTime;
    /**
     * 推荐人的会员id  如果没有 则为-1  默认为-1
     */
    @ApiModelProperty(value = "推荐人的会员id  如果没有 则为-1  默认为-1", name = "recommended")
    private Long recommended;
    /**
     * 会员自己的推荐码
     */
    @ApiModelProperty(value = "会员自己的推荐码", name = "selfRecommendCode")
    private String selfRecommendCode;
    /**
     * 会员的佣金
     */
    @ApiModelProperty(value = "会员的佣金", name = "commission")
    private BigDecimal commission;
    /**
     * 会员所属的店铺id
     */
    @ApiModelProperty(value = "会员所属的店铺id", name = "beloneStoreId")
    private Long beloneStoreId;

}
