public static TbrembourssementDto FromModel(Tbrembourssement model)
 {
     return(new TbrembourssementDto()
     {
         Idrembours = model.Idrembours,
         Librembours = model.Librembours,
         Idfact = model.Idfact,
         Idmodrglmt = model.Idmodrglmt,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdfactNavigation = TbfactureDto.FromModel(model.IdfactNavigation),
         IdmodrglmtNavigation = TbmodeReglementDto.FromModel(model.IdmodrglmtNavigation),
     });
 }
Beispiel #2
0
 public static TbavanceDto FromModel(Tbavance model)
 {
     return(new TbavanceDto()
     {
         IdAvance = model.IdAvance,
         NumAvance = model.NumAvance,
         DatAvance = model.DatAvance,
         Mtavance = model.Mtavance,
         NumCheqAvan = model.NumCheqAvan,
         IdDoss = model.IdDoss,
         IdModeReglmnt = model.IdModeReglmnt,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdDossNavigation = TbdossierDto.FromModel(model.IdDossNavigation),
         IdModeReglmntNavigation = TbmodeReglementDto.FromModel(model.IdModeReglmntNavigation),
     });
 }
Beispiel #3
0
 public static TbreglementDto FromModel(Tbreglement model)
 {
     return(new TbreglementDto()
     {
         Idreglmt = model.Idreglmt,
         Numreglmt = model.Numreglmt,
         Datreglmt = model.Datreglmt,
         NomMandant = model.NomMandant,
         Mtrglmt = model.Mtrglmt,
         Idfact = model.Idfact,
         Idmodrglmt = model.Idmodrglmt,
         NumeroRecu = model.NumeroRecu,
         NumeroCheque = model.NumeroCheque,
         NumeroCompte = model.NumeroCompte,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdfactNavigation = TbfactureDto.FromModel(model.IdfactNavigation),
         IdmodrglmtNavigation = TbmodeReglementDto.FromModel(model.IdmodrglmtNavigation),
     });
 }