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