38 lines
1.0 KiB
C#
38 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LSFE.MobApp.Models
|
|
{
|
|
public class SamplingItem : INotifyPropertyChanged
|
|
{
|
|
public Guid InventoryTransId { get; set; }
|
|
public string? Description { get; set; }
|
|
public int QtyIn { get; set; }
|
|
public int Qty { get; set; }
|
|
public byte IconEmojiId { get; set; }
|
|
public string IconEmoji { get; set; } = "💊";
|
|
|
|
private bool _isChecked;
|
|
public bool IsChecked
|
|
{
|
|
get => _isChecked;
|
|
set
|
|
{
|
|
_isChecked = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|