产品服务包

This commit is contained in:
2024-12-23 12:12:04 +08:00
parent e0784816fb
commit 355f9bf3ed
2 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace common\models\newDb;
use yii\behaviors\TimestampBehavior;
class SupplierModel extends \common\modelsgii\newDb\SupplierModelGii
{
public function behaviors()
{
return [
[
'class' => TimestampBehavior::class,
'attributes' => [
],
],
];
}
}

View File

@@ -0,0 +1,49 @@
<?php
namespace common\modelsgii\newDb;
/**
* This is the model class for table "yii_address".
*
* @property int $id
* @property int $user_id
* @property string $name
* @property string $mobile
* @property string $province 省
* @property string $city 市
* @property string $area 区
* @property string $region 省市区
* @property string $detail_address 详细地址
* @property int $is_default 是否默认地址0否1是
* @property int $created_at
* @property int $updated_at
* @property int $is_delete
*/
class SupplierModelGii extends \common\core\BaseNewActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return '{{%supplier}}';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
];
}
}