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.

преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. * @inheritdoc
  13. */
  14. public static function tableName() {
  15. return 'point_vente_user';
  16. }
  17. /**
  18. * @inheritdoc
  19. */
  20. public function rules() {
  21. return [
  22. [['id_point_vente', 'id_user'], 'required'],
  23. [['id_point_vente', 'id_user'], 'integer'],
  24. [['commentaire'], 'string'],
  25. ];
  26. }
  27. /**
  28. * @inheritdoc
  29. */
  30. public function attributeLabels() {
  31. return [
  32. 'id_point_vente' => 'Id Point Vente',
  33. 'id_user' => 'Id User',
  34. 'commentaire' => 'Commentaire'
  35. ];
  36. }
  37. }