You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
575 B
Go

3 years ago
/**
* @Author: jager
* @Email: lhj168os@gmail.com
* @File: types
* @Date: 2021/12/31 4:32
* @package: types
* @Version: v1.0.0
*
* @Description:
*
*/
package types
type RUser interface {
Uid() string
Openid() string
Phone() string
Secret() string
Name() string
Gender() int64
Avatar() string
Score() int64
}
type RWUser interface {
RUser
SetOpenid(openid string)
SetPhone(phone string)
SetSecret(secret string)
SetName(name string)
SetAvatar(avatar string)
SetGender(gender int64)
SetScore(score int64)
3 years ago
SetPassword(pwd string)
3 years ago
}