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.

45 lines
770B

  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. ];
  28. }
  29. /**
  30. * @inheritdoc
  31. */
  32. public function attributeLabels()
  33. {
  34. return [
  35. 'id_point_vente' => 'Id Point Vente',
  36. 'id_user' => 'Id User',
  37. ];
  38. }
  39. }