fix
This commit is contained in:
@@ -15,6 +15,7 @@ type LdapDepartment struct {
|
||||
ParentId *int64 `gorm:"default:0;" json:"parent_id"` // 层级如 10/20/30
|
||||
Dn *string `gorm:"default:'';" json:"dn"` //
|
||||
SyncState *int64 `gorm:"default:1;" json:"sync_state"` //
|
||||
Sort *int64 `gorm:"default:999;" json:"sort"` // 排序
|
||||
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
||||
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user