You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PointVenteUser.php 854B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "point_vente_user".
  6. *
  7. * @property integer $id_point_vente
  8. * @property integer $id_user
  9. */
  10. class PointVenteUser extends \yii\db\ActiveRecord
  11. {
  12. /**
  13. * @inheritdoc
  14. */
  15. public static function tableName()
  16. {
  17. return 'point_vente_user';
  18. }
  19. /**
  20. * @inheritdoc
  21. */
  22. public function rules()
  23. {
  24. return [
  25. [['id_point_vente', 'id_user'], 'required'],
  26. [['id_point_vente', 'id_user'], 'integer'],
  27. [['commentaire'], 'string'],
  28. ];
  29. }
  30. /**
  31. * @inheritdoc
  32. */
  33. public function attributeLabels()
  34. {
  35. return [
  36. 'id_point_vente' => 'Id Point Vente',
  37. 'id_user' => 'Id User',
  38. 'commentaire' => 'Commentaire'
  39. ];
  40. }
  41. }