| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use Yii;
- use yii\helpers\Json;
- use yii\db\ActiveRecord;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%local_delivery_courier_comment}}".
- *
- * @property integer $id
- * @property integer $comment_id
- * @property integer $tag_id
- * @property integer $rider_id
- * @property integer $is_delete
- * @property integer $created_at
- * @property integer $updated_at
- */
- class LocalDeliveryCourierCommentExt extends \yii\db\ActiveRecord
- {
- const IS_DELETE_YES = 1;//已删除
- const IS_DELETE_NO = 0;//未删除
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%local_delivery_courier_comment_ext}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'comment_id', 'tag_id', 'rider_id', 'is_delete', 'created_at', 'updated_at'], 'integer']
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'comment_id' => '评价id',
- 'tag_id' => '标签id',
- 'rider_id' => '骑手id',
- 'is_delete' => '',
- 'created_at' => '创建时间',
- 'updated_at' => '修改时间',
- ];
- }
- }
|