package com.ruoyi.frequency.onlinerecord.entity;

import java.math.BigDecimal;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.vo.UserInfo;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在线支付记录对象 t_online_record
 *
 * @author liwenlong
 * @date 2024-05-18
 */
@Data
@Accessors(chain = true)
@TableName("t_online_record")
public class OnlineRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("删除标志 1正常 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("数值")
    @Excel(name = "数值")
    private BigDecimal price;

    @ApiModelProperty("主体id")
    @Excel(name = "主体id")
    private Long objectId;

    @ApiModelProperty("支付方式 ：目前只有快捷支付")
    @Excel(name = "支付方式 ：目前只有快捷支付")
    private Integer payType;

    @ApiModelProperty("来源类型")
    @Excel(name = "来源类型")
    private Integer objectType;

    @ApiModelProperty("交易用户")
    @Excel(name = "交易用户")
    private Long userId;

    @ApiModelProperty("交易用户类型")
    @Excel(name = "交易用户类型")
    private Integer userType;

    @ApiModelProperty("用户信息")
    @TableField(exist = false)
    private UserInfo userInfo;
    

}
