Added completed user. Some fixes and more more more...
This commit is contained in:
parent
b96dd39795
commit
ea8ab7c0ed
33 changed files with 576 additions and 212 deletions
|
|
@ -8,9 +8,18 @@ import (
|
|||
|
||||
func CreateUserResultFromEntity(entity *entities.User) *common.UserResult {
|
||||
return &common.UserResult{
|
||||
Id: entity.Id,
|
||||
UserName: entity.UserName,
|
||||
Password: entity.Password,
|
||||
Id: entity.Id,
|
||||
UserName: entity.UserName,
|
||||
Password: entity.Password,
|
||||
Name: entity.Name,
|
||||
Role: entity.Role,
|
||||
Speciality: entity.Speciality,
|
||||
Description: entity.Description,
|
||||
Skills: entity.Skills,
|
||||
Avatar: entity.Avatar,
|
||||
JoinDate: entity.JoinDate,
|
||||
Projects: entity.Projects,
|
||||
Motto: entity.Motto,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue