BookingGoodsCat.php 914 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. use yii\behaviors\TimestampBehavior;
  10. use yii\db\ActiveRecord;
  11. /**
  12. * This is the model class for table "{{%booking_goods_cat}}".
  13. *
  14. * @property integer $id
  15. * @property integer $store_id
  16. * @property string $name
  17. * @property string $pic_url
  18. * @property integer $sort
  19. * @property integer $is_delete
  20. * @property integer $is_show
  21. * @property integer $created_at
  22. * @property integer $updated_at
  23. */
  24. class BookingGoodsCat extends \yii\db\ActiveRecord
  25. {
  26. /**
  27. * @inheritdoc
  28. */
  29. public static function tableName()
  30. {
  31. return '{{%booking_goods_cat}}';
  32. }
  33. public function behaviors()
  34. {
  35. return [
  36. [
  37. 'class' => TimestampBehavior::class,
  38. ]
  39. ];
  40. }
  41. }