public static TbtypGarageDto FromModel(TbtypGarage model) { return(new TbtypGarageDto() { IdTyGara = model.IdTyGara, LibTypGara = model.LibTypGara, IdTarifHor = model.IdTarifHor, IdUser = model.IdUser, DateCreation = model.DateCreation, ModifieLe = model.ModifieLe, ModifiePar = model.ModifiePar, StateCode = model.StateCode, StatusCode = model.StatusCode, IdTarifHorNavigation = TbtarifHoraireDto.FromModel(model.IdTarifHorNavigation), }); }
public static TbtarifHoraireGarageMarqueDto FromModel(TbtarifHoraireGarageMarque model) { return(new TbtarifHoraireGarageMarqueDto() { IdGara = model.IdGara, IdMarque = model.IdMarque, IdTarifHor = model.IdTarifHor, MtTarif = model.MtTarif, IdUser = model.IdUser, DateCreation = model.DateCreation, ModifieLe = model.ModifieLe, ModifiePar = model.ModifiePar, StateCode = model.StateCode, StatusCode = model.StatusCode, IdGaraNavigation = TbgarageDto.FromModel(model.IdGaraNavigation), IdMarqueNavigation = TbmarqueDto.FromModel(model.IdMarqueNavigation), IdTarifHorNavigation = TbtarifHoraireDto.FromModel(model.IdTarifHorNavigation), }); }
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), }); }