Files
houston-be/model/shedlock/entity.go
Abhijeet Gupta 96ce2fff26 TP-0000 | SlackBot Changes (#16)
* TP-0000 | SlackBot Changes

* TP-000 | Confluene Page column

* TP-0000 | comments

* TP-0000 | properties fix

* TP-0000 | func refactor

* TP-0000 | minor changes

Co-authored-by: ravi chandora <ravi.chandora@navi.com>
2023-04-15 19:24:02 +05:30

17 lines
396 B
Go

package shedlock
import "time"
type ShedlockEntity struct {
Name string `gorm:"name"`
LockUntil time.Time `gorm:"lock_until"`
LockedAt time.Time `gorm:"locked_at"`
LockedBy string `gorm:"locked_by" hostname+name`
LockedValue bool `gorm:"locked_value"`
UnlockedBy string `gorm:"unlocked_by"`
}
func (ShedlockEntity) TableName() string {
return "shedlock"
}