1: using System;
2:
3: namespace Ia.Ngn.Cl.Model
4: {
5: ////////////////////////////////////////////////////////////////////////////
6:
7: /// <summary publish="true">
8: /// Event Entity Framework class for Next Generation Network (NGN) entity model.
9: /// </summary>
10: ///
11: /// <remarks>
12: /// Copyright © 2006-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
13: ///
14: /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
15: /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
16: ///
17: /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
18: /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
19: ///
20: /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
21: ///
22: /// Copyright notice: This notice may not be removed or altered from any source distribution.
23: /// </remarks>
24: public partial class Event
25: {
26: ////////////////////////////////////////////////////////////////////////////
27:
28: /// <summary>
29: ///
30: /// </summary>
31: public Event() { }
32:
33: /// <summary/>
34: public long Id { get; set; }
35: /// <summary/>
36: public int TypeId { get; set; }
37: /// <summary/>
38: public string System { get; set; }
39: /// <summary/>
40: public string Class { get; set; }
41: /// <summary/>
42: public string Aid { get; set; }
43: /// <summary/>
44: public string Cause { get; set; }
45: /// <summary/>
46: public int Number { get; set; }
47: /// <summary/>
48: public string Detail { get; set; }
49: /// <summary/>
50: public string Severity { get; set; }
51: /// <summary/>
52: public string SeverityEffect { get; set; }
53: /// <summary/>
54: public DateTime EventTime { get; set; }
55: /// <summary/>
56: public DateTime? NodeTime { get; set; }
57: /// <summary/>
58: public DateTime Created { get; set; }
59: /// <summary/>
60: public DateTime Updated { get; set; }
61:
62: /// <summary/>
63: public virtual Ont Ont { get; set; }
64:
65: /// <summary/>
66: public System.Guid UserId { get; set; }
67:
68: ////////////////////////////////////////////////////////////////////////////
69:
70: /// <summary>
71: ///
72: /// </summary>
73: public override string ToString()
74: {
75: return Ia.Ngn.Cl.Model.Data.Event.ToString(this);
76: }
77:
78: ////////////////////////////////////////////////////////////////////////////
79:
80: /// <summary>
81: ///
82: /// </summary>
83: public string ToSimpleTextString()
84: {
85: return Ia.Ngn.Cl.Model.Data.Event.ToSimpleTextString(this);
86: }
87:
88: ////////////////////////////////////////////////////////////////////////////
89: ////////////////////////////////////////////////////////////////////////////
90: }
91:
92: ////////////////////////////////////////////////////////////////////////////
93: ////////////////////////////////////////////////////////////////////////////
94: }