models

package
v0.0.0-...-b4a6059 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMultipleSettingsModel

type CreateMultipleSettingsModel struct {
	List []CreateSettingGroupModel `json:"list"`
}

type CreateSettingGroupModel

type CreateSettingGroupModel struct {
	Type string                  `json:"type"`
	List []SettingGroupItemModel `json:"list"`
}

type CreateUserSettingModel

type CreateUserSettingModel struct {
	Name  string `json:"name"`
	Value string `json:"value"`
	Type  string `json:"type"`
}

type GetSettingGroupItemModel

type GetSettingGroupItemModel struct {
	ObjectId uuid.UUID `json:"objectId"`
	Name     string    `json:"name"`
	Value    string    `json:"value"`
	IsSystem bool      `json:"isSystem"`
}

type GetSettingGroupModel

type GetSettingGroupModel struct {
	Type        string                     `json:"type"`
	CreatedDate int64                      `json:"created_date"`
	OwnerUserId uuid.UUID                  `json:"ownerUserId"`
	List        []GetSettingGroupItemModel `json:"list"`
}

type GetSettingsModel

type GetSettingsModel struct {
	Type    string      `json:"type"`
	UserIds []uuid.UUID `json:"userIds"`
}

type SettingGroupItemModel

type SettingGroupItemModel struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type UpdateSettingGroupItemModel

type UpdateSettingGroupItemModel struct {
	ObjectId uuid.UUID `json:"objectId"`
	Name     string    `json:"name"`
	Value    string    `json:"value"`
	IsSystem bool      `json:"isSystem"`
}

type UpdateSettingGroupModel

type UpdateSettingGroupModel struct {
	Type        string                     `json:"type"`
	CreatedDate int64                      `json:"created_date"`
	OwnerUserId uuid.UUID                  `json:"ownerUserId"`
	List        []GetSettingGroupItemModel `json:"list"`
}

type UserSettingModel

type UserSettingModel struct {
	ObjectId    uuid.UUID `json:"objectId"`
	OwnerUserId uuid.UUID `json:"ownerUserId"`
	Name        string    `json:"name"`
	Value       string    `json:"value"`
	Type        string    `json:"type"`
	IsSystem    bool      `json:"isSystem"`
	CreatedDate int64     `json:"created_date"`
}

Jump to

Keyboard shortcuts

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