Browse Source

Indentation + commentaires modèle PointVenteUser

refactoring
Guillaume Bourgeois 6 years ago
parent
commit
59e65a2b5b
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      common/models/PointVenteUser.php

+ 8
- 4
common/models/PointVenteUser.php View File

* @property integer $id_point_vente * @property integer $id_point_vente
* @property integer $id_user * @property integer $id_user
*/ */
class PointVenteUser extends \yii\db\ActiveRecord {
class PointVenteUser extends \yii\db\ActiveRecord
{


/** /**
* @inheritdoc * @inheritdoc
*/ */
public static function tableName() {
public static function tableName()
{
return 'point_vente_user'; return 'point_vente_user';
} }


/** /**
* @inheritdoc * @inheritdoc
*/ */
public function rules() {
public function rules()
{
return [ return [
[['id_point_vente', 'id_user'], 'required'], [['id_point_vente', 'id_user'], 'required'],
[['id_point_vente', 'id_user'], 'integer'], [['id_point_vente', 'id_user'], 'integer'],
/** /**
* @inheritdoc * @inheritdoc
*/ */
public function attributeLabels() {
public function attributeLabels()
{
return [ return [
'id_point_vente' => 'Id Point Vente', 'id_point_vente' => 'Id Point Vente',
'id_user' => 'Id User', 'id_user' => 'Id User',

Loading…
Cancel
Save