package com.cyksj.model.entity;

import lombok.Getter;
import lombok.Setter;

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

/**
 * 项目名: yhlxj
 * 文件名: UserGalaxyCoinRecord
 * 创建者: JavaZou
 * 创建时间:2025/7/7 15:14
 */
@Getter
@Setter
public class UserGalaxyCoinRecord extends BaseEntity{
	private Long userId;

	private Long orderId;

	private BigDecimal galaxyCoin;

	/**
	 * 剩余可用银河币
	 */
	private BigDecimal remainGalaxyCoin;

	/**
	 * 是否已使用
	 */
	private Boolean isUsed;

	/**
	 * 过期时间
	 */
	private Date expiryTime;

	/**
	 *  0.普通订单 1.会员订单 2.套餐升级订单
	 */
	private Integer source;

	private String remark;
}
