|
123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
-
- namespace common\models;
-
- use Yii;
-
- /**
- * This is the model class for table "user_etablissement".
- *
- * @property integer $id_user
- * @property integer $id_etablissement
- */
- class UserEtablissement extends \yii\db\ActiveRecord {
-
- /**
- * @inheritdoc
- */
- public static function tableName() {
- return 'user_etablissement';
- }
-
- /**
- * @inheritdoc
- */
- public function rules() {
- return [
- [['id_user', 'id_etablissement'], 'required'],
- [['id_user', 'id_etablissement'], 'integer'],
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function attributeLabels() {
- return [
- 'id_user' => 'Id User',
- 'id_etablissement' => 'Id Etablissement',
- ];
- }
-
- }
|