Files
CKB-Interface/application/common/model/TrafficPool.php
2026-02-04 11:02:33 +08:00

28 lines
812 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace app\common\model;
use think\Model;
/**
* 流量池模型类(旧版,已废弃)
*
* @deprecated 此模型已废弃,请使用 TrafficPoolV2 模型
* 旧表ck_traffic_pool_v1
* 新表ck_traffic_pool使用 TrafficPoolV2 模型)
*/
class TrafficPool extends Model
{
// ========== 旧版流量池表(已废弃) ==========
// 设置数据表名
// protected $name = 'traffic_pool_v1';
// ========== 新版流量池表 ==========
// 注意:为了兼容性,暂时保留此模型,但表名已改为新版
// 新代码请使用 TrafficPoolV2 模型
protected $name = 'traffic_pool';
// 自动写入时间戳
protected $autoWriteTimestamp = true;
protected $createTime = 'createTime';
protected $updateTime = 'updateTime';
}