This commit is contained in:
2017-12-27 19:23:10 +01:00
parent 9338eceb9f
commit f01704e8d4
17 changed files with 612 additions and 34 deletions
@@ -0,0 +1,50 @@
using DevExpress.Xpo;
using System.ComponentModel;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
namespace Nuvolar.Module.CSharp
{
[DefaultClassOptions, NavigationItem(false), CreatableItem(false)]
public class GanttTaskDependencies : XPLiteObject
{
public GanttTaskDependencies(Session session)
: base(session)
{
}
public override void AfterConstruction()
{
base.AfterConstruction();
}
private int _ParentId;
private int _DependentId;
private int _TType;
[Key(AutoGenerate = true), Browsable(false)]
public int Id { get; set; }
public int ParentId
{
get { return _ParentId; }
set { SetPropertyValue("ParentId", ref _ParentId, value); }
}
/// <summary>
/// DependentId -> a függőségekhez
/// </summary>
public int DependentId
{
get { return _DependentId; }
set { SetPropertyValue("DependentId", ref _DependentId, value); }
}
/// <summary>
/// Type
/// </summary>
public int TType
{
get { return _TType; }
set { SetPropertyValue("TType", ref _TType, value); }
}
}
}