Loggest thy stuff
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.

78 lines
2.2 KiB

  1. // Code generated by sqlc. DO NOT EDIT.
  2. // versions:
  3. // sqlc v1.13.0
  4. package mysqlcore
  5. import (
  6. "database/sql"
  7. "time"
  8. "git.aiterp.net/stufflog3/stufflog3-api/internal/sqltypes"
  9. )
  10. type Item struct {
  11. ID int `json:"id"`
  12. ScopeID int `json:"scope_id"`
  13. ProjectRequirementID sql.NullInt32 `json:"project_requirement_id"`
  14. Name string `json:"name"`
  15. Description string `json:"description"`
  16. CreatedTime time.Time `json:"created_time"`
  17. CreatedUserID string `json:"created_user_id"`
  18. AcquiredTime sql.NullTime `json:"acquired_time"`
  19. ScheduledDate sql.NullTime `json:"scheduled_date"`
  20. }
  21. type ItemStatProgress struct {
  22. ItemID int `json:"item_id"`
  23. StatID int `json:"stat_id"`
  24. Acquired int `json:"acquired"`
  25. Required int `json:"required"`
  26. }
  27. type Project struct {
  28. ID int `json:"id"`
  29. ScopeID int `json:"scope_id"`
  30. AuthorID string `json:"author_id"`
  31. Name string `json:"name"`
  32. Status int `json:"status"`
  33. Description string `json:"description"`
  34. CreatedTime time.Time `json:"created_time"`
  35. }
  36. type ProjectRequirement struct {
  37. ID int `json:"id"`
  38. ScopeID int `json:"scope_id"`
  39. ProjectID int `json:"project_id"`
  40. Name string `json:"name"`
  41. Status int `json:"status"`
  42. Description string `json:"description"`
  43. }
  44. type ProjectRequirementStat struct {
  45. ProjectRequirementID int `json:"project_requirement_id"`
  46. StatID int `json:"stat_id"`
  47. Required int `json:"required"`
  48. }
  49. type Scope struct {
  50. ID int `json:"id"`
  51. Name string `json:"name"`
  52. Abbreviation string `json:"abbreviation"`
  53. }
  54. type ScopeMember struct {
  55. ScopeID int `json:"scope_id"`
  56. UserID string `json:"user_id"`
  57. Name string `json:"name"`
  58. Owner bool `json:"owner"`
  59. }
  60. type Stat struct {
  61. ID int `json:"id"`
  62. ScopeID int `json:"scope_id"`
  63. Name string `json:"name"`
  64. Description string `json:"description"`
  65. Weight float64 `json:"weight"`
  66. AllowedAmounts sqltypes.NullRawMessage `json:"allowed_amounts"`
  67. }