entity

package
v0.0.0-...-8b0f75f Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dictionary

type Dictionary struct {
	//TableName gobatis.TableName `dictionary`
	Id           int       `column:"id" json:"id"`
	UserId       int       `column:"user_id" json:"userId"`
	ScopeSpaceId int       `column:"scopespace_id" json:"scopeSpaceId"`
	DictKey      string    `column:"dict_key" json:"dictKey"`
	DictValue    string    `column:"dict_value" json:"dictValue"`
	Version      string    `column:"version" json:"version"`
	State        string    `column:"state" json:"state"`
	CreatedAt    time.Time `column:"created_at" json:"createdAt"`
	UpdatedAt    time.Time `column:"updated_at" json:"updatedAt"`
}

type Logging

type Logging struct {
	//TableName gobatis.TableName `logging`
	Id        int       `column:"id"`
	UserId    int       `column:"user_id"`
	Logging   string    `column:"logging"`
	CreatedAt time.Time `column:"created_at"`
}

type PageUserParam

type PageUserParam struct {
	Page     int
	PageSize int
	Name     string
}

type Permission

type Permission struct {
	//TableName gobatis.TableName `permission`
	Id        int       `column:"id"`
	UserId    int       `column:"user_id"`
	DataType  int       `column:"data_type"`
	DataId    int       `column:"data_id"`
	Note      string    `column:"note"`
	State     string    `column:"state"`
	CreatedAt time.Time `column:"created_at"`
	UpdatedAt time.Time `column:"updated_at"`
}

type ScopeSpace

type ScopeSpace struct {
	//TableName gobatis.TableName `scopespace`
	Id        int       `column:"id" json:"id"`
	UserId    int       `column:"user_id" json:"userId"`
	Name      string    `column:"name" json:"name"`
	Note      string    `column:"note" json:"note"`
	State     string    `column:"state" json:"state"`
	CreatedAt time.Time `column:"created_at" json:"createdAt"`
	UpdatedAt time.Time `column:"updated_at" json:"updatedAt"`
}

type User

type User struct {
	//TableName gobatis.TableName `user`
	Id          int       `column:"id"`
	Name        string    `column:"name"`
	Password    string    `column:"password"`
	Salt        string    `column:"salt"`
	Identity    int       `column:"identity"`
	State       string    `column:"state"`
	UserSession string    `column:"user_session"`
	CreatedAt   time.Time `column:"created_at"`
	UpdatedAt   time.Time `column:"updated_at"`
}

type UserInfo

type UserInfo struct {
	Id        int    `json:"id"`
	Name      string `json:"name"`
	Identity  int    `json:"identity"`
	State     string `json:"state"`
	Token     string `json:"token"`
	CreatedAt string `json:"createdAt"`
	UpdatedAt string `json:"updatedAt"`
}

Jump to

Keyboard shortcuts

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