Files
jdescopingtool/NEW/src/JdeScoping.Core/ViewModels/OperatorViewModel.cs
T
Joseph Doherty d49330e697 docs: add XML documentation and ConfigManager implementation plans
Add comprehensive XML documentation (param/returns tags) across 132 source
files to improve IntelliSense and API discoverability. Include ConfigManager
design documents and implementation plans for phases 1-9.
2026-01-20 02:26:26 -05:00

36 lines
884 B
C#

namespace JdeScoping.Core.ViewModels;
/// <summary>
/// View model for operator filter.
/// </summary>
public class OperatorViewModel
{
/// <summary>
/// Gets or sets the operator's address number.
/// </summary>
public long AddressNumber { get; set; }
/// <summary>
/// Gets or sets the operator's user ID.
/// </summary>
public string UserId { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the operator's full name.
/// </summary>
public string FullName { get; set; } = string.Empty;
/// <inheritdoc />
public override bool Equals(object? obj)
{
if (obj is OperatorViewModel other)
{
return UserId == other.UserId;
}
return false;
}
/// <inheritdoc />
public override int GetHashCode() => UserId.GetHashCode();
}