package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: GroupRelationDetailView
 *创建者: JavaZou
 *创建时间:2023/4/20 11:20
 */
@Getter
@Setter
@SearchBean(tables = "groups_relation gr left join groups_trips gt on gt.id = gr.groups_id" +
		" left join goods_don_sku gdk on gdk.id = gt.sku_id" +
		" left join goods_don g on g.id = gdk.goods_id")
public class GroupRelationDetailView {
	@DbField("gr.id")
	private Long relationId;

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

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

	@DbField("gdk.spec_val")
	private String specVal;

	@DbField("gdk.goods_id")
	private Long goodsId;

	@DbField("g.title")
	private String title;

	@DbField("gt.account_Id")
	private Long accountId;
}
