package com.kym.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 用户信息
 *
 * @author skyline
 */
@Data
@Accessors(chain = true)
public class UserVo implements Serializable {
    private static final long serialVersionUID = 1L;
    public Long id;
    private String stationId;
    public String username;
    public String nickname;
    public String openid;
    public String avatar;
    public String gender;
    public String mobilePhone;
    public Integer status;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public LocalDateTime lastLoginTime;
    public Integer balance;
    public Integer rechargeBalance;
    public Integer grantsBalance;
    public Integer discountAmount;
    public Integer refundableAmount;
    public String defaultPlateNo;
    public String vin;
}
