currencyexplore.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. use app\constants\OptionSetting;
  9. use app\modules\alliance\models\CurrencyForm;
  10. use app\plugins\scanCodePay\models\Order as ScanCodePayOrder;
  11. use app\plugins\scanCodePay\models\Order as ScanOrder;
  12. use yii\db\ActiveRecord;
  13. use yii\behaviors\TimestampBehavior;
  14. use Yii;
  15. use yii\helpers\Json;
  16. /**
  17. * This is the model class for table "{{%currencyexplore}}".
  18. *
  19. * @property integer $id
  20. * @property string $name
  21. * @property string $image
  22. * @property integer $bases_num
  23. * @property integer $min_num
  24. * @property integer $max_num
  25. * @property integer $times
  26. * @property integer $new_bases_num
  27. */
  28. class currencyexplore extends \yii\db\ActiveRecord
  29. {
  30. /**
  31. * @inheritdoc
  32. */
  33. public static function tableName()
  34. {
  35. return '{{%currencyexplore}}';
  36. }
  37. /**
  38. * @inheritdoc
  39. */
  40. public function rules()
  41. {
  42. return [
  43. [['bases_num', 'min_num', 'max_num', 'times','new_bases_num','id'], 'integer'],
  44. [['name'], 'string', 'max' => 255],
  45. [['image'], 'string'],
  46. ];
  47. }
  48. }