58 lines
1.3 KiB
PHP
58 lines
1.3 KiB
PHP
<?php
|
||
|
||
namespace common\modelsgii;
|
||
|
||
use Yii;
|
||
|
||
/**
|
||
* This is the model class for table "yii_charge_cash_pay_record".
|
||
*
|
||
* @property int $id // ID
|
||
* @property int $store_id // 诊所id
|
||
* @property string $charge_cash // 手续费
|
||
* @property string $order_no // 订单号
|
||
* @property int $type // 类型 0:平台 1:诊所
|
||
* @property int $status // 状态 1:已记录 2:已代付 3:已取消
|
||
* @property $store // 诊所
|
||
* @property int $created_at
|
||
* @property int $updated_at
|
||
*/
|
||
class ChargeCashPayRecord extends \common\core\BaseActiveRecord
|
||
{
|
||
/**
|
||
* {@inheritdoc}
|
||
*/
|
||
public static function tableName()
|
||
{
|
||
return 'yii_charge_cash_pay_record';
|
||
}
|
||
|
||
/**
|
||
* {@inheritdoc}
|
||
*/
|
||
public function rules()
|
||
{
|
||
return [
|
||
[['store_id', 'charge_cash', 'type', 'status'], 'required'],
|
||
[['created_at', 'updated_at'], 'integer'],
|
||
];
|
||
}
|
||
|
||
/**
|
||
* {@inheritdoc}
|
||
*/
|
||
public function attributeLabels()
|
||
{
|
||
return [
|
||
'id' => 'ID',
|
||
'order_no' => '订单号',
|
||
'store_id' => '诊所ID',
|
||
'charge_cash' => '手续费',
|
||
'type' => 'type',
|
||
'status' => 'status',
|
||
'created_at' => 'Created At',
|
||
'updated_at' => 'Updated At',
|
||
];
|
||
}
|
||
}
|