using HotelPms.Client.Blazor.ViewModel;
using HotelPms.Share.Util;
using static HotelPms.Client.Blazor.Models.RoomTypeInputRow;
namespace HotelPms.Client.Blazor.Models
{
public abstract class ReadOnlyRow : IDisposable
{
#region ★★★★★ Property ★★★★★
///
/// Guid
///
public string ID { get; set; } = string.Empty;
///
/// 行の対象項目情報
///
public List Cells { get; set; } = new List();
#endregion
#region ★★★★★ Class Event ★★★★★
public ReadOnlyRow()
{
ID = Guid.NewGuid().ToString();
}
// Disposable types implement a finalizer.
~ReadOnlyRow()
{
Dispose(false);
}
protected virtual void Dispose(bool disposing)
{
if (disposing)
{
// Dispose managed resources
}
// Free native resources
}
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
#endregion
}
}