package com.sonic.lion.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * t_pay_charge
 * @author 
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_pay_charge", autoResultMap = true)
public class PayCharge {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String platform;

    /**
     * 应用id
     */
    private String bundleId;

    /**
     * 内购商品项id
     */
    private String productId;

    private Long chargeAmount;

    private Long payAmount;

    /**
     * 赠送金额
     */
    private Long giftAmount;

    /**
     * 业务类型（HOT 热门标记、LARGE_PRODUCT 大额充送档位）
     */
    private String bizType;

    private Date createTime;

    private Date editTime;

    @TableField("is_delete")
    private Boolean deleted;

    private String version;
}