Пример #1
0
 public static TbnbreElementMainOeuvreTypePeintureDto FromModel(TbnbreElementMainOeuvreTypePeinture model)
 {
     return(new TbnbreElementMainOeuvreTypePeintureDto()
     {
         Idnbelmt = model.Idnbelmt,
         IdMo = model.IdMo,
         Idtyppeint = model.Idtyppeint,
         Tpeint = model.Tpeint,
         Coef = model.Coef,
         Conste = model.Conste,
         MtPeint = model.MtPeint,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdMoNavigation = TbmainOeuvreDto.FromModel(model.IdMoNavigation),
         IdnbelmtNavigation = TbnbreElementDto.FromModel(model.IdnbelmtNavigation),
         IdtyppeintNavigation = TbtypePeintureDto.FromModel(model.IdtyppeintNavigation),
     });
 }
 public static TbtypPeintureTarifActifTarifHonoraireNbreElemntDto FromModel(TbtypPeintureTarifActifTarifHonoraireNbreElemnt model)
 {
     return(new TbtypPeintureTarifActifTarifHonoraireNbreElemntDto()
     {
         IdTarif = model.IdTarif,
         IdTypPeint = model.IdTypPeint,
         IdTarifAct = model.IdTarifAct,
         Coef = model.Coef,
         Const = model.Const,
         Mtprodpeint = model.Mtprodpeint,
         Idnbelmt = model.Idnbelmt,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdTarifActNavigation = TbtarifActifDto.FromModel(model.IdTarifActNavigation),
         IdTarifNavigation = TbtarifHoraireDto.FromModel(model.IdTarifNavigation),
         IdTypPeintNavigation = TbtypePeintureDto.FromModel(model.IdTypPeintNavigation),
         IdnbelmtNavigation = TbnbreElementDto.FromModel(model.IdnbelmtNavigation),
     });
 }