forked from nixcn/nixcn-cms
@@ -14,3 +14,15 @@ type Event struct {
|
||||
StartTime time.Time `json:"start_time" gorm:"index"`
|
||||
EndTime time.Time `json:"end_time" gorm:"index"`
|
||||
}
|
||||
|
||||
func (self *Event) GetEventById(eventId uuid.UUID) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *Event) UpdateEventById(eventId uuid.UUID) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *Event) CreateEvent() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user