package org.dromara.work.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 积分明细对象 tp_integral_detail
 *
 * @author Maosw
 * @date 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tp_integral_detail")
public class TpIntegralDetail extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 所属用户
     */
    private Long uid;

    /**
     * 标题
     */
    private String title;

    /**
     * 类型（1为加，2为减）
     */
    private Long type;

    /**
     * 数额
     */
    private Long price;

    /**
     * 创建时间
     */
    private Long addTime;


}
