Guest User

Untitled

a guest
May 21st, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. # config/doctrine/schema.yml
  2. Prospect:
  3. actAs: { Timestampable: ~ }
  4. columns:
  5. nom: { type: string(255), notnull: true }
  6. contact: { type: string(255) }
  7. fonction: { type: string(255) }
  8. adresse: { type: string(255) }
  9. ville: { type: string(255) } # Pour les stats
  10. cp: { type: string(255) } # Pour les stats
  11. tel_fixe: { type: string(255) } # et si plusieurs ? Mobile/fixe au moins
  12. tel_portable: { type: string(255) }
  13. email: { type: string(255) }
  14. site_web: { type: string(255) }
  15. commentaire: { type: string(4000) } # "Il faut parler fort, il est sourd", etc.
  16. relations:
  17. Appels: { class: Appel, local: id, foreign: prospect_id, type: many }
  18.  
  19. Appel:
  20. actAs: { Timestampable: ~ }
  21. columns:
  22. date: { type: date }
  23. date_recontact: { type: date }
  24. commentaire: { type: string(4000) }
  25. a_rappeler: { type: boolean }
  26. prospect_id: { type: integer }
  27. membre_id: { type: integer }
  28. type_appel_id: { type: integer }
  29. relations:
  30. Prospect: { local: prospect_id, foreign: id, type: one }
  31. Membre: { local: membre_id, foreign: id, type: one }
  32. TypeAppel: { local: type_appel_id, foreign: id, type: one }
  33.  
  34. Membre:
  35. actAs: { Timestampable: ~ }
  36. columns:
  37. nom: { type: string(255) }
  38. relations:
  39. Appels: { class: Appel, local:id, foreign: prospect_id, type: many }
  40.  
  41. # Appel sortant, manqué, décroché
  42. TypeAppel:
  43. columns:
  44. nom: { type: string(255) }
Add Comment
Please, Sign In to add comment