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 ★★★★★
|
|
/// <summary>
|
/// Guid
|
/// </summary>
|
public string ID { get; set; } = string.Empty;
|
|
/// <summary>
|
/// 行の対象項目情報
|
/// </summary>
|
public List<string> Cells { get; set; } = new List<string>();
|
|
#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
|
}
|
}
|