9 lines
258 B
Go
9 lines
258 B
Go
package model
|
|
|
|
type BaseModel struct {
|
|
Id int64 `json:"id" xorm:"pk autoincr 'id'"`
|
|
CreatedAt int64 `json:"created_at" xorm:"created"`
|
|
UpdatedAt int64 `json:"updated_at" xorm:"updated"`
|
|
DeletedAt int64 `json:"deleted_at" xorm:"deleted notnull"`
|
|
}
|