original

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserToOriginalDatabase

func AddUserToOriginalDatabase(user *object.User)

func UpdateUserToOriginalDatabase

func UpdateUserToOriginalDatabase(user *object.User)

Types

type Affiliation

type Affiliation struct {
	Id   int    `xorm:"int notnull pk autoincr" json:"id"`
	Name string `xorm:"varchar(128)" json:"name"`
}

func (Affiliation) TableName

func (Affiliation) TableName() string

type User

type User struct {
	Id        int    `xorm:"int notnull pk autoincr" json:"id"`
	Name      string `xorm:"varchar(128)" json:"name"`
	Password  string `xorm:"varchar(128)" json:"password"`
	Cellphone string `xorm:"varchar(128)" json:"cellphone"`
	SchoolId  int    `json:"schoolId"`
	Avatar    string `xorm:"varchar(128)" json:"avatar"`
	Deleted   int    `xorm:"tinyint(1)" json:"deleted"`
}

func (User) TableName

func (User) TableName() string

Jump to

Keyboard shortcuts

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