Files
xk-api-yii/common/modelsgii/ChargeCashPayRecord.php

58 lines
1.3 KiB
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 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',
];
}
}