authentication.go 455 B

123456789101112131415
  1. package auth
  2. type AuthenticationForm struct {
  3. Id int64 `form:"id"`
  4. Type int `form:"type"`
  5. Name string `form:"name" binding:"MaxSize(50)"`
  6. Domain string `form:"domain"`
  7. Host string `form:"host"`
  8. Port int `form:"port"`
  9. BaseDN string `form:"base_dn"`
  10. Attributes string `form:"attributes"`
  11. Filter string `form:"filter"`
  12. MsAdSA string `form:"ms_ad_sa"`
  13. IsActived bool `form:"is_actived"`
  14. }