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;

/**
 * 项目名: yhlxj11111111
 * 文件名: GroupsRelationMirrorView
 * 创建者: JavaZou
 * 创建时间:2025/9/28 11:22
 */
@Getter
@Setter
@SearchBean(tables = "groups_relation gr left join groups_trips gt on gr.groups_id = gt.id " +
		"left join goods_don_sku sku on sku.id = gt.sku_id ")
public class GroupsRelationMirrorView {

	@DbField("gr.id")
	private Long id;

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

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

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

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

	@DbField("gr.start_time")
	private Date startTime;

	@DbField("gr.expiry_time")
	private Date expiryTime;
}
