mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-16 01:38:59 +08:00
10 lines
202 B
Go
10 lines
202 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type BaseModel struct {
|
|
ID uint `gorm:"primarykey;AUTO_INCREMENT" json:"id"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|