package com.cyksj.model.views;

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

/**
 * 项目名: yhlxj2
 * 文件名: WholeGoodsSkuPayUserDetailView
 * 创建者: JavaZou
 * 创建时间:2024/9/11 11:53
 */
@Getter
@Setter
@SearchBean(tables = "(select id,sku_id,goods_id,user_id from goods_wholesale_order_don :oid:) o left join goods_don g on g.id = o.goods_id" +
		" left join goods_don_sku sku on sku.id = o.sku_id")
public class WholeGoodsSkuPayUserDetailView extends BaseEntity {
	@DbIgnore
	private Integer total;

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

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

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

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

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

	@DbIgnore
	private Integer goal;

	@DbIgnore
	private Boolean isReturn;
}
