Recarga.cs 790B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. #nullable disable
  4. namespace WebApplication3.Models
  5. {
  6. public partial class Recarga
  7. {
  8. public uint Id { get; set; }
  9. public string Nombre { get; set; }
  10. public uint? IdSimulacion { get; set; }
  11. public string Latitud { get; set; }
  12. public string Longitud { get; set; }
  13. public uint? IdAcuifero { get; set; }
  14. public Recarga Copy(uint? simulacionId)
  15. {
  16. Recarga recarga = new Recarga();
  17. recarga.Nombre = this.Nombre;
  18. recarga.Latitud = this.Latitud;
  19. recarga.Longitud = this.Longitud;
  20. recarga.IdSimulacion = simulacionId;
  21. recarga.IdAcuifero = this.IdAcuifero;
  22. return recarga;
  23. }
  24. }
  25. }