package com.cyksj.model.views;

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

import java.util.Date;

/*
 *项目名: netflix
 *文件名: EmptyGroupsRelationView
 *创建者: JavaZou
 *创建时间:2023/6/5 14:01
 */
@Getter
@Setter
@SearchBean(tables = "account a inner join groups_trips gt on gt.account_id = a.id",
		where = ":condition:")
public class EmptyGroupsRelationView {
	@DbField("a.id")
	private Long accountId;

	@DbField("a.account")
	private String account;

	@DbField("gt.sku_id")
	private Long skuId;

	@DbField("gt.id")
	private Long groupsId;

	@DbField("gt.available_num")
	private Integer availableNum;

	@DbField("a.expiry_time")
	private Date expiryTime;

	@DbField("a.created_time")
	private Date createdTime;

	@DbField("gt.status")
	private GroupsTrips.Status status;
}
