account

package
v0.0.0-...-d370aa6 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	ID       int64  `xorm:"'id' pk autoincr"`
	Login    string `xorm:"not null unique"`
	Group    string
	Name     string
	Password string
	Email    string `xorm:"not null unique"`
	Phone    string
	Data     string // some account related data
	Disabled bool   `xorm:"not null default 0"`
	Version  int    `xorm:"version"` // Optimistic Locking
}

Record is a user account table record

func (Record) TableName

func (r Record) TableName() string

type Records

type Records []Record

Records is an Account item slice

Jump to

Keyboard shortcuts

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