package com.cyksj.model.views;

import com.cyksj.model.entity.AppleAutoRegisterData;
import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/*
 *项目名: netflix
 *文件名: AppleIdRegisterView
 *创建者: JavaZou
 *创建时间:2022/11/22 16:54
 */
@Getter
@Setter
@SearchBean(tables = "apple_auto_register_data ar left join user u on u.id = ar.user_id")
public class AppleIdRegisterView {
	@DbField("ar.id")
	private Long id;

	@DbField("ar.apple_pwd_id")
	private String applePwdId;

	@DbField("ar.country_or_area")
	private AppleAutoRegisterData.CountryOrArea countryOrArea;

	@DbField("ar.status")
	private Boolean status;

	@DbField("u.id")
	private Long userId;

	@DbField("u.nickname")
	private String nickname;

	@DbField("ar.created_time")
	private Date createdTime;
}
