mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-25 11:39:16 +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"`
|
|
}
|