|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- /**
- * 数据库表类 fx_user_amount_order
- * ============================================================================
- * * 版权所有 蜘蛛出行 * *
- * 网站地址: http://www.zhizhuchuxing.com
- * ----------------------------------------------------------------------------
- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
- * 使用;不允许对程序代码以任何形式任何目的的再发布。
- * ============================================================================
- * Author By: 倪宗锋
- * PhpStorm LoginController.php
- * Create By 2017/06/15 17:59 $
- */
-
- namespace common\models;
-
- use yii\db\ActiveRecord;
-
- /**
- * 数据库表类 fx_user_amount_order.
- * @property integer $id
- * @property integer $fx_uid
- * @property integer $amount
- * @property integer $status
- * @property string $recharge_order
- * @property integer $pay_type
- * @property string $create_time
- * @property string $update_time
- */
- class FxUserAmountOrder extends ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'fx_user_amount_order';
- }
-
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['fx_uid', 'status', 'pay_type'], 'integer'],
- [['amount'], 'number'],
- [['recharge_order', 'pay_type'], 'required'],
- [['create_time', 'update_time'], 'safe'],
- [['recharge_order'], 'string', 'max' => 100],
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'fx_uid' => 'Fx Uid',
- 'amount' => 'Amount',
- 'status' => 'Status',
- 'recharge_order' => 'Recharge Order',
- 'pay_type' => 'Pay Type',
- 'create_time' => 'Create Time',
- 'update_time' => 'Update Time',
- ];
- }
- }
|