package com.playlet.system.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.playlet.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.playlet.common.annotation.Excel;

/**
 * 全局配置对象 playlet_config
 *
 * @author ruoyi
 * @date 2024-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "playlet_config")
public class PlayletConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 提成比例 */
    @Excel(name = "提成比例")
    private BigDecimal globalRate;

    /** 拉新比例 */
    @Excel(name = "拉新比例")
    private BigDecimal placeRate;

}
