user

package
v0.0.0-...-1960156 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-14 17:40
  • description :
  • history :

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-14 15:42
  • description :
  • history :

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-14 17:46
  • description :
  • history :

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-14 17:46
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserManager

func NewUserManager(partnerId int, rep user.IUserRep) user.IUserManager

Types

type Person

type Person struct {
	// contains filtered or unexported fields
}

func (*Person) GetDomainId

func (this *Person) GetDomainId() int

func (*Person) GetValue

func (this *Person) GetValue() user.PersonValue

func (*Person) Save

func (this *Person) Save() (int, error)

func (*Person) SetValue

func (this *Person) SetValue(v *user.PersonValue) error

type Role

type Role struct {
	// contains filtered or unexported fields
}

func (*Role) GetDomainId

func (this *Role) GetDomainId() int

func (*Role) GetValue

func (this *Role) GetValue() user.RoleValue

func (*Role) Save

func (this *Role) Save() (int, error)

func (*Role) SetValue

func (this *Role) SetValue(v *user.RoleValue) error

type User

type User struct {
	// contains filtered or unexported fields
}

func (*User) GetCredential

func (this *User) GetCredential(sign string) *user.CredentialValue

获取凭据

func (*User) GetPerson

func (this *User) GetPerson() user.IPerson

获取人员信息

func (*User) SaveCredential

func (this *User) SaveCredential(v *user.CredentialValue) error

保存凭据

type UserManager

type UserManager struct {
	// contains filtered or unexported fields
}

func (*UserManager) GetDeliveryStaff

func (this *UserManager) GetDeliveryStaff() []user.IDeliveryStaff

获取所有配送员

func (*UserManager) GetUser

func (this *UserManager) GetUser(id int) user.IUser

获取单个用户

Jump to

Keyboard shortcuts

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