request

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrganizationRequest

type CreateOrganizationRequest struct {
	Name string `validate:"required,min=1,max=200" json:"name"`
}

type RegisterOrgSystemUser

type RegisterOrgSystemUser struct {
	FullNames           string               `json:"fullNames"`
	UserName            string               `json:"userName"`
	Password            string               `json:"password"`
	PrimaryOrganization uuid.UUID            `json:"primaryOrganization"`
	NeedsPasswordChange bool                 `json:"needsPasswordChange"`
	CreatedBy           string               `json:"createdBy"`
	UserRole            model.SystemUserRole `json:"userRole"`
}

type RegisterUserAndOrg

type RegisterUserAndOrg struct {
	User         *model.SystemUser
	Organization *model.Organization
}

type UpdateOrganizationRequest

type UpdateOrganizationRequest struct {
	Id   int    `validate:"required"`
	Name string `validate:"required,max=200,min=1" json:"name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL