Pārlūkot izejas kodu

Indentation + commentaires modèle PointVenteUser

refactoring
Guillaume Bourgeois pirms 6 gadiem
vecāks
revīzija
59e65a2b5b
1 mainītis faili ar 8 papildinājumiem un 4 dzēšanām
  1. +8
    -4
      common/models/PointVenteUser.php

+ 8
- 4
common/models/PointVenteUser.php Parādīt failu

@@ -46,19 +46,22 @@ use Yii;
* @property integer $id_point_vente
* @property integer $id_user
*/
class PointVenteUser extends \yii\db\ActiveRecord {
class PointVenteUser extends \yii\db\ActiveRecord
{

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

/**
* @inheritdoc
*/
public function rules() {
public function rules()
{
return [
[['id_point_vente', 'id_user'], 'required'],
[['id_point_vente', 'id_user'], 'integer'],
@@ -69,7 +72,8 @@ class PointVenteUser extends \yii\db\ActiveRecord {
/**
* @inheritdoc
*/
public function attributeLabels() {
public function attributeLabels()
{
return [
'id_point_vente' => 'Id Point Vente',
'id_user' => 'Id User',

Notiek ielāde…
Atcelt
Saglabāt