Add Support to consume/redeem points
Support Creating task/chore via api Add initial Description for tasks
This commit is contained in:
parent
925b7db300
commit
71030913cd
11 changed files with 368 additions and 66 deletions
|
@ -28,3 +28,9 @@ type ThingChore struct {
|
|||
TriggerState string `json:"triggerState" gorm:"column:trigger_state"`
|
||||
Condition string `json:"condition" gorm:"column:condition"`
|
||||
}
|
||||
|
||||
type ThingTrigger struct {
|
||||
ID int `json:"thingID" binding:"required"`
|
||||
TriggerState string `json:"triggerState" binding:"required"`
|
||||
Condition string `json:"condition"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue