d49330e697
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.
36 lines
884 B
C#
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();
|
|
}
|