package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/*
 *项目名: netflix
 *文件名: EquipmentDistributeNewUserView
 *创建者: JavaZou
 *创建时间:2023/3/16 17:01
 */
@Getter
@Setter
@SearchBean(tables = "equipment_user_distribute_invite_record ur left join user u on u.id = ur.user_id")
public class EquipmentDistributeNewUserView {
	@DbField("ur.id")
	private Long inviteRecordId;

	@DbField("ur.user_id")
	private Long userId;

	@DbField("ur.share_id")
	private Long shareId;

	@DbField("ur.is_new_user")
	private Boolean isNewUser;

	@DbField("u.created_time")
	private Date userRegisterDate;

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

	@DbField("u.headimgurl")
	private String headImgUrl;
}
