UserMapper

interface UserMapper

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun get(relation: Profile.FriendRelationEnum): FriendRelation
open fun get(gang: Profile.GangEnum): Gang
open fun get(gang: SimpleUserDto.GangEnum): Gang
open fun get(gang: StoryData.GangEnum): Gang
open fun get(gang: UserDto.GangEnum): Gang
Link copied to clipboard
abstract fun model(model: RegisterUserModel): RegisterUserDto
abstract fun model(profile: Profile): ProfileModel
abstract fun model(dto: UserDto): UserModel
Link copied to clipboard
abstract fun ratingModel(dto: SimpleUserDto): UserInfo
Link copied to clipboard
abstract fun ratingModels(dto: List<SimpleUserDto>): List<UserInfo>
Link copied to clipboard
abstract fun relation(dto: GangRelationDto): GangRelation
Link copied to clipboard
abstract fun simple(dtos: List<SimpleUserDto>): List<SimpleUserModel>
abstract fun simple(dto: SimpleUserDto): SimpleUserModel