package com.ruoyi.frequency.integralrecord.model.result;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 积分记录对象 t_integral_record
 *
 * @author liwenlong
 * @date 2024-01-29
 */
@Data
@Accessors(chain = true)
public class IntegralRecordResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("租户号")
    private Long id;

    @ApiModelProperty("乐观锁")
    private Integer delFlag;

    @ApiModelProperty("积分")
    @Excel(name = "积分")
    private BigDecimal integral;

    @ApiModelProperty("积分余额")
    @Excel(name = "积分余额")
    private BigDecimal currentBalance;

    @ApiModelProperty("记录类型")
    @Excel(name = "记录类型")
    private Integer record;

    @ApiModelProperty("用户类型 1设计师 2表现师")
    @Excel(name = "用户类型 1设计师 2表现师")
    private Integer userType;

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

    @ApiModelProperty("来源id")
    @Excel(name = "来源id")
    private Long objectId;


}
