Beispiel #1
0
 public static TbnoteDto FromModel(Tbnote model)
 {
     return(new TbnoteDto()
     {
         IdNot = model.IdNot,
         LibelleNot = model.LibelleNot,
         Idtypnote = model.Idtypnote,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdtypnoteNavigation = TbtypeNoteDto.FromModel(model.IdtypnoteNavigation),
     });
 }
 public static TbexpertiseTypeNoteDto FromModel(TbexpertiseTypeNote model)
 {
     return(new TbexpertiseTypeNoteDto()
     {
         Idexpert = model.Idexpert,
         Idtypnote = model.Idtypnote,
         Texte = model.Texte,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
         IdtypnoteNavigation = TbtypeNoteDto.FromModel(model.IdtypnoteNavigation),
     });
 }
Beispiel #3
0
 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,
     });
 }