publication.go 615 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package models;
  2. import (
  3. "time";
  4. );
  5. /*{
  6. "id": *?,
  7. "external_id": *?,
  8. "year": ????,
  9. "journal": "*?",
  10. "title": "*?",
  11. "volume": "???",
  12. "issue": "?-?",
  13. "pages": "???-???",
  14. "quartile": "",
  15. "doi": "*?",
  16. "link": "*?",
  17. "npr_number": *?,
  18. "employed_number": *?,
  19. "started_at": "????-??-??T??:??:??.???+??:??"
  20. }*/
  21. type Publication struct {
  22. Id int `gorm:"primary_key"`;
  23. ExternalId int `sql:"index"`;
  24. Year int;
  25. Journal string;
  26. Title string;
  27. Volume string;
  28. Issue string;
  29. Pages string;
  30. Quartile string;
  31. DOI string;
  32. Link string;
  33. NprNumber int;
  34. EmployedNumber int;
  35. StartedAt time.Time;
  36. };