package com.kym.entity.miniapp.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kym.entity.admin.RechargeRights;
import com.kym.entity.admin.vo.ActivityVo;
import com.kym.entity.miniapp.UserCoupon;
import com.kym.entity.miniapp.UserRechargeRights;
import lombok.Data;
import lombok.experimental.Accessors;

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


@Data
@Accessors(chain = true)
public class UserVo implements Serializable {
    private static final long serialVersionUID = 1L;
    public Long id;
    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 discountAmount;
    public Integer refundableAmount;
    public String defaultPlateNo;
    public String vin;
    public List<ActivityVo> activityList;
    public List<UserRechargeRights> userRechargeRightsList;
    public List<UserCoupon> userCouponList;

}
