Add subtask model and repository, implement webhook notification handling

fix Issue with Scheduler
Support NotificationPlatformWebhook
This commit is contained in:
Mo Tarbin 2025-02-25 23:56:49 -05:00
parent 41be361463
commit 8db572f1ec
13 changed files with 337 additions and 38 deletions

View file

@ -0,0 +1,12 @@
package model
import "time"
type SubTask struct {
ID int `json:"id" gorm:"primary_key"`
ChoreID int `json:"-" gorm:"column:chore_id;index"`
OrderID int8 `json:"orderId" gorm:"column:order_id"`
Name string `json:"name" gorm:"column:name"`
CompletedAt *time.Time `json:"completedAt" gorm:"column:completed_at"`
CompletedBy int `json:"completedBy" gorm:"column:completed_by"`
}