ホテル管理システム
ogi
yesterday 1a1c8e71fcd14858f595029f089b2d4a00202b32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
    }
}