You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

72 regels
1.9 KiB

  1. <?php
  2. /**
  3. * 数据库表类 fx_user_amount_order
  4. * ============================================================================
  5. * * 版权所有 蜘蛛出行 * *
  6. * 网站地址: http://www.zhizhuchuxing.com
  7. * ----------------------------------------------------------------------------
  8. * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
  9. * 使用;不允许对程序代码以任何形式任何目的的再发布。
  10. * ============================================================================
  11. * Author By: 倪宗锋
  12. * PhpStorm LoginController.php
  13. * Create By 2017/06/15 17:59 $
  14. */
  15. namespace common\models;
  16. use yii\db\ActiveRecord;
  17. /**
  18. * 数据库表类 fx_user_amount_order.
  19. * @property integer $id
  20. * @property integer $fx_uid
  21. * @property integer $amount
  22. * @property integer $status
  23. * @property string $recharge_order
  24. * @property integer $pay_type
  25. * @property string $create_time
  26. * @property string $update_time
  27. */
  28. class FxUserAmountOrder extends ActiveRecord
  29. {
  30. /**
  31. * @inheritdoc
  32. */
  33. public static function tableName()
  34. {
  35. return 'fx_user_amount_order';
  36. }
  37. /**
  38. * @inheritdoc
  39. */
  40. public function rules()
  41. {
  42. return [
  43. [['fx_uid', 'status', 'pay_type'], 'integer'],
  44. [['amount'], 'number'],
  45. [['recharge_order', 'pay_type'], 'required'],
  46. [['create_time', 'update_time'], 'safe'],
  47. [['recharge_order'], 'string', 'max' => 100],
  48. ];
  49. }
  50. /**
  51. * @inheritdoc
  52. */
  53. public function attributeLabels()
  54. {
  55. return [
  56. 'id' => 'ID',
  57. 'fx_uid' => 'Fx Uid',
  58. 'amount' => 'Amount',
  59. 'status' => 'Status',
  60. 'recharge_order' => 'Recharge Order',
  61. 'pay_type' => 'Pay Type',
  62. 'create_time' => 'Create Time',
  63. 'update_time' => 'Update Time',
  64. ];
  65. }
  66. }