Pārlūkot izejas kodu

Added Process Flow Module

master
George Williams 5 gadus atpakaļ
vecāks
revīzija
fccfcebdcd
1 mainītis faili ar 21 papildinājumiem un 0 dzēšanām
  1. 21
    0
      UnivateProperties_API/Model/ProcessFlow/ProcessFlow.cs

+ 21
- 0
UnivateProperties_API/Model/ProcessFlow/ProcessFlow.cs Parādīt failu

@@ -0,0 +1,21 @@
1
+using UnivateProperties_API.Model.Timeshare;
2
+
3
+namespace UnivateProperties_API.Model.ProcessFlow
4
+{
5
+    public class ProcessFlow : BaseEntity
6
+    {
7
+        public int? TimeshareID { get; set; }
8
+        public int? PropertyID { get; set; }
9
+        public int StatusID { get; set; }
10
+
11
+
12
+        public virtual TimeshareWeek Timeshare { get; set; }
13
+        public virtual Property.Property Property { get; set; }
14
+        public virtual Status Status { get; set; }
15
+
16
+        public override string ToString()
17
+        {
18
+            return $"{(TimeshareID ?? PropertyID).Value} - {Status?.Code}";
19
+        }
20
+    }
21
+}

Notiek ielāde…
Atcelt
Saglabāt