7e36bb4225
Remove 9 unused types from Core (duplicate extension classes, TableSpec, ColumnSpec, LotLocation), move ComponentLotViewModel and OperatorViewModel from Client to Core, and refactor DataSync.Dev to use pipeline-based configuration. Fix Login.razor to use UserInfoDto directly.
22 lines
600 B
C#
22 lines
600 B
C#
namespace JdeScoping.Core.ViewModels;
|
|
|
|
/// <summary>
|
|
/// View model for component lot filter.
|
|
/// </summary>
|
|
public class ComponentLotViewModel
|
|
{
|
|
public string LotNumber { get; set; } = string.Empty;
|
|
public string ItemNumber { get; set; } = string.Empty;
|
|
|
|
public override bool Equals(object? obj)
|
|
{
|
|
if (obj is ComponentLotViewModel other)
|
|
{
|
|
return LotNumber == other.LotNumber && ItemNumber == other.ItemNumber;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public override int GetHashCode() => HashCode.Combine(LotNumber, ItemNumber);
|
|
}
|