package com.starry.admin.modules.clerk.module.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starry.common.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 店员等级对象 play_clerk_level_info
 *
 * @author admin
 * @since 2024-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("play_clerk_level_info")
public class PlayClerkLevelInfoEntity extends BaseEntity<PlayClerkLevelInfoEntity> {

    /**
     * UUID
     */
    private String id;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 等级名称
     */
    private String name;

    /**
     * 等级数字（排序字段）
     */
    private Integer level;

    /**
     * 首次固定单比例[0 - 100%]
     */
    private Integer firstRegularRatio;

    /**
     * 非首次固定单比例[0 - 100%]
     */
    private Integer notFirstRegularRatio;

    /**
     * 首次打赏比例[0 - 100%]
     */
    private Integer firstRewardRatio;

    /**
     * 非首次打赏比例[0 - 100%]
     */
    private Integer notFirstRewardRatio;

    /**
     * 首次随机单比例[0 - 100%]
     */
    private Integer firstRandomRadio;

    /**
     * 非首次随机单比例[0 - 100%]
     */
    private Integer notFirstRandomRadio;

    private Integer styleType;

    private String styleImageUrl;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long orderNumber;
}
