Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop

This commit is contained in:
jrojas
2026-06-26 09:52:35 +02:00
commit 319fd3dfb0
746 changed files with 106610 additions and 0 deletions
@@ -0,0 +1,36 @@
namespace adas_core.Domain.Models.GroupedObservations;
public class Field
{
public string? Name { get; set; }
public int Last { get; set; } = 1;
public bool OnlyExpired { get; set; }
//public override bool Equals(object? obj)
//{
// // Verifica si el objeto pasado es nulo o no es del mismo tipo
// if (obj == null || GetType() != obj.GetType()) return false;
// // Convierte el objeto pasado al tipo Field
// var other = (Field)obj;
// // Compara las propiedades una por una, maneja el caso de valores nulos usando el operador de coalescencia nula (??)
// return Name == other.Name &&
// Last == other.Last &&
// OnlyExpired == other.OnlyExpired;
//}
//public override int GetHashCode()
//{
// unchecked
// {
// var hash = 17;
// hash = hash * 23 + (Name?.GetHashCode() ?? 0);
// hash = hash * 23 + Last.GetHashCode();
// hash = hash * 23 + OnlyExpired.GetHashCode();
// return hash;
// }
//}
}