mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-21 13:17:48 +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"`
|
|
}
|