package
Version:
v0.0.0-...-d83f0ff
Opens a new window with list of versions in this module.
Published: Feb 27, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Project struct {
gorm.Model
ID uint `json:"id" gorm:"primaryKey"`
Name string `json:"name" gorm:"not null; column:name; size:255"`
CreatedAt time.Time `json:"createdAt" gorm:"not null"`
}
type Task struct {
gorm.Model
Name string `json:"name" gorm:"not null"`
Status string `json:"status" gorm:"not null"`
ProjectID uint `json:"projectID" gorm:"not null"`
AssignedToID uint `json:"assignedTo" gorm:"not null"`
}
type TaskPayload struct {
Name string `json:"name"`
ProjectID uint `json:"projectID"`
AssignedTo uint `json:"assignedTo"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.