forked from ebhomengo/niki
1
0
Fork 0
niki/entity/admin.go

23 lines
378 B
Go
Raw Normal View History

2024-01-02 15:35:26 +00:00
package entity
type Admin struct {
ID uint
FirstName string
LastName string
password string
PhoneNumber string
Role AdminRole
Description string
Email string
Gender Gender
Status AdminStatus
}
func (a *Admin) GetPassword() string {
return a.password
}
func (a *Admin) SetPassword(password string) {
a.password = password
2024-01-02 15:35:26 +00:00
}