CloudInventoryCash.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. /**
  9. * Class CloudInventoryCash
  10. * @package app\modules\common\models
  11. *
  12. * @property integer $id
  13. * @property integer $saas_id
  14. * @property string $saas_name
  15. * @property string $saas_mobile
  16. * @property integer $price
  17. * @property integer $status
  18. * @property integer $action_time
  19. * @property integer $pay_type
  20. * @property string $service_charge
  21. * @property integer $cash_type
  22. * @property string $account
  23. * @property string $name
  24. * @property string $bank_name
  25. * @property integer $created_at
  26. */
  27. class CloudInventoryCash extends \yii\db\ActiveRecord
  28. {
  29. /**
  30. * @return string
  31. */
  32. public static function tableName()
  33. {
  34. return '{{%cloud_inventory_cash}}';
  35. }
  36. public function rules()
  37. {
  38. return [
  39. [['id', 'saas_id', 'status','action_time','pay_type','cash_type'],'integer'],
  40. [['name','bank_name','account' ,'saas_name' ,'saas_mobile'], 'string'],
  41. [['service_charge'], 'number']
  42. ];
  43. }
  44. public function attributeLabels()
  45. {
  46. return [
  47. 'id' => 'ID',
  48. 'saas_id' => '商盟用户id',
  49. 'price' => '提现金额',
  50. 'status' => '提现状态',
  51. 'action_time' => '处理时间',
  52. 'pay_type' => '打款类型',
  53. 'service_charge' => '手续费',
  54. 'cash_type' => '提现方式',
  55. 'account' => '账号',
  56. 'bank_name' => '开户行名称',
  57. 'created_at' => '添加时间',
  58. 'name' => '姓名'
  59. ];
  60. }
  61. }