[色子游戏]奖池配置

This commit is contained in:
2026-03-03 13:47:25 +08:00
parent 1e8ea9c886
commit ea9f17d43b
7 changed files with 148 additions and 43 deletions

View File

@@ -6,7 +6,7 @@
// +----------------------------------------------------------------------
namespace app\dice\model\lottery_config;
use plugin\saiadmin\basic\eloquent\BaseModel;
use plugin\saiadmin\basic\think\BaseModel;
/**
* 色子奖池配置模型
@@ -15,10 +15,16 @@ use plugin\saiadmin\basic\eloquent\BaseModel;
*
* @property $id ID
* @property $name 名称
* @property $weight 权重
* @property $remark 备注
* @property $type 奖池类型
* @property $safety_line 安全线
* @property $create_time 创建时间
* @property $update_time 修改时间
* @property $t1_wight T1池权重
* @property $t2_wight T2池权重
* @property $t3_wight T3池权重
* @property $t4_wight T4池权重
* @property $t5_wight T5池权重
*/
class DiceLotteryConfig extends BaseModel
{
@@ -26,7 +32,7 @@ class DiceLotteryConfig extends BaseModel
* 数据表主键
* @var string
*/
protected $primaryKey = 'id';
protected $pk = 'id';
/**
* 数据库表名称
@@ -34,14 +40,6 @@ class DiceLotteryConfig extends BaseModel
*/
protected $table = 'dice_lottery_config';
/**
* 属性转换
*/
protected function casts(): array
{
return array_merge(parent::casts(), [
]);
}
/**
* 名称 搜索
*/