|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
-
- namespace common\models;
-
- use Yii;
- use yii\helpers\Html ;
-
- /**
- * This is the model class for table "user_boulangerie".
- *
- * @property integer $id
- * @property integer $id_user
- * @property integer $id_boulangerie
- */
- class UserBoulangerie extends \yii\db\ActiveRecord
- {
-
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'user_boulangerie';
- }
-
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id_user', 'id_etablissement'], 'required'],
- [['id_user', 'id_etablissement'], 'integer'],
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- ];
- }
- }
|