init
This commit is contained in:
12
local/model/concert.go
Normal file
12
local/model/concert.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"gorm.io/datatypes"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type ConcertModel struct {
|
||||
gorm.Model
|
||||
Name string `json:"name"`
|
||||
StartDate datatypes.Date `json:"startDate"`
|
||||
}
|
||||
Reference in New Issue
Block a user