This commit is contained in:
laodaming
2023-11-14 11:57:09 +08:00
parent 15671c02c3
commit cf06e4fc6a
4 changed files with 31 additions and 17 deletions

View File

@@ -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"` //
}