99 lines
2.3 KiB
C#
99 lines
2.3 KiB
C#
|
|
using Ease.Core.Model;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class PickerDependancy : BasicBaseObject
|
|
{
|
|
#region Constructor
|
|
public PickerDependancy()
|
|
{
|
|
|
|
}
|
|
#endregion
|
|
|
|
#region Properties
|
|
public int ParentID { get; set; }
|
|
#region MasterPickerID
|
|
public int MasterPickerID { get; set; }
|
|
public ReportColumnDefinition MasterPicker { get; set; }
|
|
|
|
//private ReportColumnDefinition _MasterPicker;
|
|
//public ReportColumnDefinition MasterPicker
|
|
//{
|
|
// get
|
|
// {
|
|
// if (_MasterPicker == null)
|
|
// {
|
|
// _MasterPicker = new ReportColumnDefinition();
|
|
// _MasterPicker = _MasterPicker.Get(ID.FromInteger(_MasterPickerID));
|
|
// }
|
|
// return _MasterPicker;
|
|
// }
|
|
//}
|
|
#endregion
|
|
|
|
public string MasterPickerColumn { get; set; }
|
|
public string ChildPickerColumn { get; set; }
|
|
#endregion
|
|
|
|
//#region Functions
|
|
//#region Set Parent
|
|
//public void SetParent(ReportColumnDefinition searchColumn)
|
|
//{
|
|
// base.SetParent(searchColumn);
|
|
//}
|
|
//#endregion
|
|
//#endregion
|
|
}
|
|
|
|
#region Collection of PickerDependancy
|
|
|
|
public class PickerDependancys : BasicBaseObject
|
|
{
|
|
|
|
|
|
//#region Collection Class Methods
|
|
|
|
//public void Add(PickerDependancy item)
|
|
//{
|
|
// base.AddItem(item);
|
|
//}
|
|
|
|
//public void Remove(PickerDependancy item)
|
|
//{
|
|
// base.RemoveItem(item);
|
|
//}
|
|
|
|
//public PickerDependancy this[int i]
|
|
//{
|
|
// get { return (PickerDependancy)GetItem(i); }
|
|
//}
|
|
|
|
//public PickerDependancy this[ID id]
|
|
//{
|
|
// get { return (PickerDependancy)GetItem(id); }
|
|
//}
|
|
|
|
//public int GetItemIndex(ID id)
|
|
//{
|
|
// return base.GetIndex(id);
|
|
//}
|
|
|
|
//public PickerDependancy[] RemovedItems
|
|
//{
|
|
// get
|
|
// {
|
|
// return (PickerDependancy[])base.GetRemovedItems(typeof(PickerDependancy));
|
|
// }
|
|
//}
|
|
|
|
//#endregion
|
|
}
|
|
#endregion
|
|
}
|