mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-22 22:35:43 +00:00
add api check uncheck assignment
This commit is contained in:
@@ -24,3 +24,10 @@ type AssignPhases struct {
|
||||
type AssignTask struct {
|
||||
EmployeeIDs string `json:"employee_ids" validate:"required"`
|
||||
}
|
||||
|
||||
type UpdateAssignment struct {
|
||||
TaskID uint `json:"task_id" validate:"required"`
|
||||
EmployeeID uint `json:"employee_id" validate:"required"`
|
||||
Checked *bool `json:"checked,omitempty"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user