初始化仓库
This commit is contained in:
71
common/modelsgii/OrderVideoInfo.php
Normal file
71
common/modelsgii/OrderVideoInfo.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
namespace common\modelsgii;
|
||||
|
||||
use Yii;
|
||||
|
||||
/**
|
||||
* This is the model class for table "{{%order_video_info}}".
|
||||
*
|
||||
* @property $id ID
|
||||
* @property $order_id 订单ID
|
||||
* @property $user_id 用户ID
|
||||
* @property $su_id 医生ID
|
||||
* @property $is_limit 是否限制通话时长(1限制2不限制)
|
||||
* @property $order_limit_minutes 订单限制总时长
|
||||
* @property $left_minutes 剩余总时长
|
||||
* @property $start_at 订单开始时间
|
||||
* @property $end_at 订单结束时间
|
||||
* @property $last_start_left_minutes 上次开始剩余时长
|
||||
* @property $last_start_at 上次一次开始时间
|
||||
* @property $last_limit_at 最后一次扣除时间
|
||||
* @property $info 明细信息
|
||||
* @property $created_at 创建时间
|
||||
* @property $updated_at 更新时间
|
||||
*
|
||||
*/
|
||||
class OrderVideoInfo extends \common\core\BaseActiveRecord
|
||||
{
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function tableName()
|
||||
{
|
||||
return '{{%order_video_info}}';
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[['info'], 'string'],
|
||||
[['order_id', 'user_id', 'su_id', 'is_limit', 'order_limit_minutes', 'left_minutes', 'last_start_left_minutes', 'created_at', 'updated_at'], 'integer'],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
return [
|
||||
'id' => 'ID',
|
||||
'order_id' => '订单ID',
|
||||
'user_id' => '用户ID',
|
||||
'su_id' => '医生ID',
|
||||
'is_limit' => '是否限制通话时长(1限制2不限制)',
|
||||
'order_limit_minutes' => '订单限制总时长',
|
||||
'left_minutes' => '剩余总时长',
|
||||
'start_at' => '订单开始时间',
|
||||
'end_at' => '订单结束时间',
|
||||
'last_start_left_minutes' => '上次开始剩余时长',
|
||||
'last_start_at' => '上次一次开始时间',
|
||||
'last_limit_at' => '最后一次扣除时间',
|
||||
'info' => '明细信息',
|
||||
'created_at' => '创建时间',
|
||||
'updated_at' => '更新时间',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user