SaasHistory.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. namespace app\models;
  8. use Yii;
  9. /**
  10. * This is the model class for table "{{%saas_history}}".
  11. *
  12. * @property integer $id
  13. * @property integer $user_id
  14. * @property integer $updated_at
  15. * @property integer $store_id
  16. */
  17. class SaasHistory extends \yii\db\ActiveRecord
  18. {
  19. /**
  20. * @inheritdoc
  21. */
  22. public static function tableName()
  23. {
  24. return '{{%saas_history}}';
  25. }
  26. /**
  27. * @inheritdoc
  28. */
  29. public function rules()
  30. {
  31. return [
  32. [['user_id', 'store_id', 'updated_at'], 'required'],
  33. [['user_id', 'store_id', 'updated_at'], 'integer'],
  34. ];
  35. }
  36. /**
  37. * @inheritdoc
  38. */
  39. public function attributeLabels()
  40. {
  41. return [
  42. 'id' => 'ID',
  43. 'user_id' => 'User ID',
  44. 'updated_at' => 'update time',
  45. 'store_id' => '商城id',
  46. ];
  47. }
  48. }