public static TbexpertiseDto FromModel(Tbexpertise model) { return(new TbexpertiseDto() { IdExpert = model.IdExpert, NumExpert = model.NumExpert, Kilometrage = model.Kilometrage, VuAvT = model.VuAvT, VuPdtT = model.VuPdtT, VuApT = model.VuApT, Duree = model.Duree, LieuVisite = model.LieuVisite, ValeurNeuve = model.ValeurNeuve, Depreciation = model.Depreciation, ValeurVenale = model.ValeurVenale, Avd = model.Avd, Avgp = model.Avgp, Ard = model.Ard, Arg = model.Arg, Indep = model.Indep, Reseau = model.Reseau, Hreseau = model.Hreseau, EuxMeme = model.EuxMeme, Inconnu = model.Inconnu, NonProf = model.NonProf, IdVeh = model.IdVeh, IdGara = model.IdGara, IdEtatEntretien = model.IdEtatEntretien, IdDoss = model.IdDoss, Idtypnote = model.Idtypnote, DatEnreg = model.DatEnreg, HeurEnreg = model.HeurEnreg, Typnote = model.Typnote, Numero = model.Numero, IdUser = model.IdUser, Epave = model.Epave, ValeurSauvetage = model.ValeurSauvetage, EconoIrrep = model.EconoIrrep, DateCreation = model.DateCreation, ModifieLe = model.ModifieLe, ModifiePar = model.ModifiePar, StateCode = model.StateCode, StatusCode = model.StatusCode }); }
public static TbexpertiseDto FromModel(Tbexpertise model) { return(new TbexpertiseDto() { IdExpert = model.IdExpert, NumExpert = model.NumExpert, Kilometrage = model.Kilometrage, VuAvT = model.VuAvT, VuPdtT = model.VuPdtT, VuApT = model.VuApT, Duree = model.Duree, LieuVisite = model.LieuVisite, ValeurNeuve = model.ValeurNeuve, Depreciation = model.Depreciation, ValeurVenale = model.ValeurVenale, Avd = model.Avd, Avgp = model.Avgp, Ard = model.Ard, Arg = model.Arg, Indep = model.Indep, Reseau = model.Reseau, Hreseau = model.Hreseau, EuxMeme = model.EuxMeme, Inconnu = model.Inconnu, NonProf = model.NonProf, IdVeh = model.IdVeh, IdGara = model.IdGara, IdEtatEntretien = model.IdEtatEntretien, IdDoss = model.IdDoss, Idtypnote = model.Idtypnote, DatEnreg = model.DatEnreg, HeurEnreg = model.HeurEnreg, Typnote = model.Typnote, Numero = model.Numero, IdUser = model.IdUser, Epave = model.Epave, ValeurSauvetage = model.ValeurSauvetage, EconoIrrep = model.EconoIrrep, DateCreation = model.DateCreation, ModifieLe = model.ModifieLe, ModifiePar = model.ModifiePar, StateCode = model.StateCode, StatusCode = model.StatusCode, IdDossNavigation = TbdossierDto.FromModel(model.IdDossNavigation), IdGaraNavigation = TbgarageDto.FromModel(model.IdGaraNavigation), IdVehNavigation = TbvehiculeDto.FromModel(model.IdVehNavigation), IdtypnoteNavigation = TbtypeNoteDto.FromModel(model.IdtypnoteNavigation), Tbconclusion = model.Tbconclusion, Tbdiscussion = model.Tbdiscussion, TbexpertiseDepannagePointChoc = model.TbexpertiseDepannagePointChoc, TbexpertiseEtatRapport = model.TbexpertiseEtatRapport, TbexpertiseFourniturePointChoc = model.TbexpertiseFourniturePointChoc, TbexpertisePointChoc = model.TbexpertisePointChoc, TbexpertisePourRecousPointChoc = model.TbexpertisePourRecousPointChoc, TbexpertiseRubriqueConstatationPointChoc = model.TbexpertiseRubriqueConstatationPointChoc, TbexpertiseRubriqueEstimation = model.TbexpertiseRubriqueEstimation, TbexpertiseRubriqueMo = model.TbexpertiseRubriqueMo, TbexpertiseTravauxExterieurPointChoc = model.TbexpertiseTravauxExterieurPointChoc, TbexpertiseTypeNote = model.TbexpertiseTypeNote, Tbphoto = model.Tbphoto, Tbpreambule = model.Tbpreambule, }); }