package com.cyksj.model.views;

import com.cyksj.model.entity.Address;
import com.cyksj.model.entity.CorpKfUser;
import com.cyksj.model.entity.User;
import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.DbIgnore;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/*
 *项目名: netflix
 *文件名: YhlxUserDetailView
 *创建者: JavaZou
 *创建时间:2022/11/11 14:48
 */
@Getter
@Setter
@SearchBean(tables = "user u")
public class YHLXUserDetailView {
	/**
	 * 用户id
	 */
	@DbField("u.id")
	private Long userId;

	/**
	 * 昵称
	 */
	@DbField("u.nickname")
	private String nickname;

	@DbField("u.unionid")
	private String unionId;

	/**
	 * 头像
	 */
	@DbField("u.headimgurl")
	private String headImgUrl;

	@DbIgnore
	private String markInfo;

	/**
	 * 是否已绑定其他用户
	 */
	@DbIgnore
	private Boolean isBind = false;

	@DbIgnore
	private Address address;

	@DbIgnore
	private List<User> userBindInfos;

	/**
	 * 是否开启spotify自动服务
	 */
	@DbIgnore
	private Boolean isSpotifySelfService;

	/**
	 * 是否是银河VIP用户
	 */
	@DbIgnore
	private Boolean isVip;

	/**
	 * 微信客服 用户信息
	 */
	@DbIgnore
	private CorpKfUser corpKfUser;
}
