LocalMapper

class LocalMapper

to map between entity and model

Constructors

Link copied to clipboard
fun LocalMapper()

Functions

Link copied to clipboard
fun mapToEducationEntities(resumeId: Int, educations: List<Education>): List<EducationEntity>
Link copied to clipboard
fun mapToEducationEntity(education: Education): EducationEntity
Link copied to clipboard
fun mapToEducationModels(educations: List<EducationEntity>): List<Education>
Link copied to clipboard
fun mapToProjectEntities(resumeId: Int, projects: List<Project>): List<ProjectEntity>
Link copied to clipboard
fun mapToProjectEntity(project: Project): ProjectEntity
Link copied to clipboard
fun mapToProjectModels(projects: List<ProjectEntity>): List<Project>
Link copied to clipboard
fun mapToResumeEntity(resume: Resume): ResumeEntity
Link copied to clipboard
fun mapToResumeModel(resumeEntity: ResumeEntity): Resume
Link copied to clipboard
fun mapToResumeModels(resumeEntities: List<ResumeEntity>): List<Resume>
Link copied to clipboard
fun mapToSkillEntities(resumeId: Int, skills: List<Skill>): List<SkillEntity>
Link copied to clipboard
fun mapToSkillEntity(skill: Skill): SkillEntity
Link copied to clipboard
fun mapToSkillModels(skills: List<SkillEntity>): List<Skill>
Link copied to clipboard
fun mapToWorkEntities(resumeId: Int, works: List<Work>): List<WorkEntity>
Link copied to clipboard
fun mapToWorkEntity(work: Work): WorkEntity
Link copied to clipboard
fun mapToWorkModels(works: List<WorkEntity>): List<Work>