entity.yml 445 B

12345678910111213141516171819
  1. User:
  2. uniqueMessage: "Ce pseudo existe déja !"
  3. properties:
  4. username:
  5. type: String
  6. required:
  7. - true
  8. - "Le champ 'pseudo' est requis !"
  9. unique: true
  10. password:
  11. type: String
  12. required:
  13. - true
  14. - "Le champ 'mot de passe' est requis !"
  15. minlength:
  16. - 7
  17. - "Le mot de passe doit contenir 7 caractères au minimum !"
  18. nbAccess: Number
  19. totalAccess: Number