-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathTag.cs
58 lines (56 loc) · 1.69 KB
/
Tag.cs
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
55
56
57
58
namespace PinusPengger
{
/// <summary>
/// Kelas yang berisi penanda
/// </summary>
public static class Tag
{
/// <summary>
/// Penanda tipe kamar
/// </summary>
public enum RoomType
{
/// <summary>
/// Merepresentasikan tipe kamar reguler
/// </summary>
REG,
/// <summary>
/// Merepresentasikan tipe kamar VIP
/// </summary>
VIP
}
/// <summary>
/// Penanda status reservasi
/// </summary>
public enum ReservationStatus
{
/// <summary>
/// Merepresentasikan status reservasi booking
/// </summary>
booking,
/// <summary>
/// Merepresentasikan status reservasi checkin
/// </summary>
checkin
}
/// <summary>
/// Penanda mode yang akan digunakan oleh
/// <see cref="ServiceAgent.ServiceAgent.FlushData{T}(T, object, FlushMode)"/> ketika melakukan perubahan data pada database
/// </summary>
public enum FlushMode
{
/// <summary>
/// Mode insert, memanggil method <see cref="DataAccessLayer.IRepository.InsertRecord(object)"/>
/// </summary>
add,
/// <summary>
/// Mode update, memanggil method <see cref="DataAccessLayer.IRepository.UpdateRecord(object)"/>
/// </summary>
update,
/// <summary>
/// Mode delete, memanggil method <see cref="DataAccessLayer.IRepository.DeleteRecord(object)"/>
/// </summary>
delete
}
}
}