| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%video_shop_order_ext}}".
- *
- * @property integer $id
- * @property string $out_order_id
- * @property integer $order_id
- * @property integer $store_id
- * @property integer $mini_id
- * @property integer $sharer_id
- * @property integer $status
- * @property integer $is_delete
- * @property string $order_info
- * @property string $union_id
- * @property string $created_at
- * @property string $updated_at
- */
- class VideoShopOrderExt extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%video_shop_order_ext}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'order_id', 'is_delete', 'store_id', 'mini_id', 'status', 'sharer_id'], 'integer'],
- [['out_order_id', 'order_info', 'union_id'], 'string'],
- [['created_at', 'updated_at'], 'safe']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- "id" => "",
- "out_order_id" => "商品id",
- "order_id" => "商品id",
- 'mini_id' => '',
- 'union_id' => '',
- 'status' => '',
- "is_delete" => "",
- "created_at" => "",
- "updated_at" => "",
- "store_id" => "",
- 'sharer_id' => ''
- ];
- }
- }
|