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;

/*
 *项目名: netflix
 *文件名: GiftCardDetailFrontView
 *创建者: JavaZou
 *创建时间:2023/8/29 17:58
 */
@Getter
@Setter
@SearchBean(tables = "gift_card_user_record gr left join user u on u.id = gr.user_id")
public class GiftCardDetailFrontView {
	@DbField("gr.id")
	private Long id;

	@DbField("u.headimgurl")
	private String headimgurl;

	@DbField("u.nickname")
	private String nickname;

	@DbField("gr.gc_detail")
	private String gcDetail;

	@DbField("gr.cash")
	private BigDecimal cash;

	@DbField("gr.gc_goods_id")
	private Long gcGoodsId;

	@DbField("gr.gc_sku_id")
	private Long gcSkuId;

	@DbField("gr.remain_cash")
	private BigDecimal remainCash;

	@DbField("gr.rc")
	private String code;

	@DbField("gr.gc_type")
	private Integer gcType;

	@DbField("gr.type")
	private String gcShowType;

	@DbField("gr.img")
	private String gcImg;
}
