SaasCloudPay.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. /**
  9. * @description:
  10. * @property string $channel_name
  11. * @property integer $channel_id
  12. * @property string $merchant_name
  13. * @property string $merchant_id
  14. * @property string $pay_name
  15. * @property integer $store_id
  16. * @property integer $pay_type
  17. * @property integer $group
  18. * agent_examine
  19. */
  20. class SaasCloudPay extends \yii\db\ActiveRecord
  21. {
  22. /**
  23. * {@inheritdoc}
  24. */
  25. public static function tableName()
  26. {
  27. return '{{%saas_cloud_pay}}';
  28. }
  29. /**
  30. * {@inheritdoc}
  31. */
  32. public function rules()
  33. {
  34. return [
  35. [[ 'channel_name','merchant_name','merchant_id','pay_name'], 'string'],
  36. [['id', 'store_id', 'pay_type', 'group','channel_id'], 'integer']
  37. ];
  38. }
  39. /**
  40. * {@inheritdoc}
  41. */
  42. public function attributeLabels()
  43. {
  44. return [
  45. 'id' => 'ID',
  46. 'store_id' => '商城ID',
  47. 'channel_name' => '渠道号名称',
  48. 'channel_id' => '渠道号ID',
  49. 'merchant_name' => '商户名称',
  50. 'merchant_id' => '商户ID',
  51. 'pay_name' => '支付名称',
  52. 'pay_type' => '支付类型',
  53. 'group' => '分组',
  54. ];
  55. }
  56. }