|
- <?php
-
- namespace common\models;
-
- use Yii;
- use yii\helpers\Html ;
-
-
- class UserBoulangerie extends \yii\db\ActiveRecord
- {
-
-
-
- public static function tableName()
- {
- return 'user_boulangerie';
- }
-
-
-
- public function rules()
- {
- return [
- [['id_user', 'id_etablissement'], 'required'],
- [['id_user', 'id_etablissement'], 'integer'],
- ];
- }
-
-
-
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- ];
- }
- }
|