Pozo.cs 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using WebApplication3.Clases;
  4. #nullable disable
  5. namespace WebApplication3.Models
  6. {
  7. public partial class Pozo
  8. {
  9. public uint Id { get; set; }
  10. public string Nombre { get; set; }
  11. public uint? IdAquifero { get; set; }
  12. public string Minimo { get; set; }
  13. public string Maximo { get; set; }
  14. public string Latitud { get; set; }
  15. public string Longitud { get; set; }
  16. public uint? IdSimulacion { get; set; }
  17. public string X { get; set; }
  18. public string Y { get; set; }
  19. public string Z { get; set; }
  20. public string Prof { get; set; }
  21. public string ScreenTop { get; set; }
  22. public string ScreenBot { get; set; }
  23. public uint Active { get; set; }
  24. public Pozo Copy(uint? idSimulacion)
  25. {
  26. Pozo pozo = new Pozo();
  27. pozo.IdAquifero = this.IdAquifero;
  28. pozo.IdSimulacion = idSimulacion;
  29. pozo.Latitud = this.Latitud;
  30. pozo.Longitud = this.Longitud;
  31. pozo.Maximo = this.Maximo;
  32. pozo.Minimo = this.Minimo;
  33. pozo.Nombre = this.Nombre;
  34. pozo.Active = this.Active;
  35. return pozo;
  36. }
  37. }
  38. }