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.math.BigDecimal;
import java.util.Date;

/*
 *项目名: netflix
 *文件名: EquipmentBenefitsView
 *创建者: JavaZou
 *创建时间:2023/2/24 10:46
 */
@Getter
@Setter
@SearchBean(tables = "equipment_user_receive_benefits_record er left join goods_don_sku sku on sku.id = er.sku_id" +
		" left join goods_don gd on gd.id = sku.goods_id")
public class EquipmentBenefitsView {
	@DbField("gd.id")
	private Long goodsId;

	@DbField("sku.id")
	private Long skuId;

	@DbField("gd.title")
	private String goodsTitle;

	@DbField("gd.type")
	private Integer type;

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

	@DbField("sku.price")
	private BigDecimal money;

	@DbField("er.user_id")
	private Long sharId;

	@DbField("er.status_code")
	private Integer statusCode;

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

	@DbField("er.update_time")
	private Date updateTime;
}
