CloudGoodsUpdateLog.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 "{{%cloud_goods_update_log}}".
  11. *
  12. * @property integer $id
  13. * @property integer $cloud_goods_id
  14. * @property integer $goods_id
  15. * @property integer $store_id
  16. * @property integer $cloud_supplier_id
  17. * @property integer $is_update
  18. * @property integer $is_delete
  19. * @property integer $created_at
  20. * @property integer $updated_at
  21. * @property integer $is_audit
  22. * @property integer $status
  23. */
  24. class CloudGoodsUpdateLog extends \yii\db\ActiveRecord
  25. {
  26. /**
  27. * @inheritdoc
  28. */
  29. public static function tableName()
  30. {
  31. return '{{%cloud_goods_update_log}}';
  32. }
  33. /**
  34. * @inheritdoc
  35. */
  36. public function rules()
  37. {
  38. return [
  39. [['id', 'cloud_supplier_id', 'cloud_goods_id', 'store_id', 'is_update', 'created_at', 'updated_at', 'is_audit', 'status', 'goods_id'], 'integer']
  40. ];
  41. }
  42. /**
  43. * @inheritdoc
  44. */
  45. public function attributeLabels()
  46. {
  47. return [
  48. 'id' => '',
  49. 'cloud_supplier_id' => '供货商id',
  50. 'cloud_goods_id' => '云仓商品id',
  51. 'store_id' => '商城id',
  52. 'is_update' => '是否更新0未更新 1已经更新',
  53. 'created_at' => '创建记录时间',
  54. 'updated_at' => '修改时间',
  55. 'is_audit' => '商品是否审核0未审核 1已审核',
  56. 'status' => '原商品是否上架'
  57. ];
  58. }
  59. }