<?php

declare(strict_types=1);

namespace app\common\model;

use support\think\Model;

/**
 * 积分商城业务配置（含 PlayX 比例等）
 */
class MallBusinessConfig extends Model
{
    protected string $name = 'mall_business_config';

    protected bool $autoWriteTimestamp = true;

    protected array $type = [
        'create_time'           => 'integer',
        'update_time'           => 'integer',
        'return_ratio'          => 'float',
        'unlock_ratio'          => 'float',
        'points_to_cash_ratio' => 'float',
    ];
}
