user

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

*

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

*

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

*

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

*

  • Copyright 2014 @ 56x.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(mchId int64, rep user.IUserRepo) user.IUserManager

Types

type Person

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

func (*Person) GetDomainId

func (p *Person) GetDomainId() int32

func (*Person) GetValue

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

func (*Person) Save

func (p *Person) Save() (int32, error)

func (*Person) SetValue

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

type Role

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

func (*Role) GetDomainId

func (this *Role) GetDomainId() int32

func (*Role) GetValue

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

func (*Role) Save

func (this *Role) Save() (int32, 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 (u *UserManager) GetDeliveryStaff() []user.IDeliveryStaff

获取所有配送员

func (*UserManager) GetUser

func (u *UserManager) GetUser(id int32) user.IUser

获取单个用户

Jump to

Keyboard shortcuts

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