package com.cyksj.model.entity;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/*
 *项目名: netflix
 *文件名: GiftCardUserRecord
 *创建者: JavaZou
 *创建时间:2023/8/25 18:16
 */
@Getter
@Setter
public class GiftCardUserRecord extends BaseEntity{
	private Long userId;

	private Long orderId;

	/**
	 * 礼品卡类型 1现金卡、2AI 3.流媒体
	 */
	private Integer gcType;

	/**
	 * 礼品卡明细
	 */
	private String gcDetail;

	private Long gcGoodsId;

	private Long gcSkuId;

	private BigDecimal cash;

	private BigDecimal remainCash;

	private Long toUserId;

	private Boolean isSend;

	/**
	 * 领取时间
	 */
	private Date receivedTime;

	private Date payTime;

	/**
	 * 是否已购买
	 */
	private Boolean isPay;

	/**
	 * 礼品卡兑换随机码
	 */
	private String rc;

	private Boolean isUsed;

	/**
	 * 礼品卡赠送类型
	 */
	private String type;

	/**
	 * 背景图
	 */
	private String img;

	/**
	 * 座位id
	 */
	private Long relationId;
}
