package com.ruoyi.cai.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 礼物记录对象 cai_user_gift
 *
 * @author 77
 * @date 2023-12-23
 */
@Data
@TableName("cai_user_gift")
public class UserGift implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 类型  1 个人详情页    2.IM页面  3视频页
     */
    private Integer type;
    /**
     * 赠送者
     */
    private Long fromUid;
    private String fromUsercode;
    private String fromMobile;
    /**
     * 接受者
     */
    private Long toUid;
    private String toUsercode;
    private String toMobile;
    /**
     * 礼物ID
     */
    private Long giftId;
    private String giftImg;
    private String giftName;
    private Long giftPrice;
    /**
     * 礼物数量
     */
    private Long giftCount;
    /**
     * 礼物总额
     */
    private Long giftAmount;

    private Long consumerLogId;

    private LocalDateTime createTime;

}
