package cn.bunny.entity.system.article;

import cn.bunny.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 用户积分记录表
 * </p>
 *
 * @author Bunny
 * @since 2024-05-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("integral_record")
@ApiModel(value = "IntegralRecord对象", description = "用户积分记录表")
public class IntegralRecord extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("操作类型")
    private Byte operType;

    @ApiModelProperty("积分")
    private Integer integral;
}
