73 lines
1.7 KiB
C#
73 lines
1.7 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Data;
|
|||
|
|
using Ease.Core;
|
|||
|
|
using Ease.CoreV35;
|
|||
|
|
using Ease.Core.Utility;
|
|||
|
|
|
|||
|
|
namespace HRM.BO
|
|||
|
|
{
|
|||
|
|
#region TranElement
|
|||
|
|
|
|||
|
|
[Serializable]
|
|||
|
|
public class TranElement : AuditTrailBase
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
#region Constructor
|
|||
|
|
public TranElement()
|
|||
|
|
{
|
|||
|
|
FundTypeID = 0; //Ease.CoreV35.Model.ID.FromInteger(FM.BO.Common.User.CurrentMasterParam.ID.Integer);
|
|||
|
|
Name = string.Empty;
|
|||
|
|
Source = string.Empty;
|
|||
|
|
ElementType = EnumElementType.None;
|
|||
|
|
WhereCluse = string.Empty;
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Properties
|
|||
|
|
#region Property FundTypeID : ID
|
|||
|
|
|
|||
|
|
public int FundTypeID { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endregion Property FundTypeID : ID
|
|||
|
|
|
|||
|
|
#region Property Name : string
|
|||
|
|
public string Name { get; set; }
|
|||
|
|
|
|||
|
|
#endregion Property Name : string
|
|||
|
|
|
|||
|
|
#region Property Source : string
|
|||
|
|
public string Source { get; set; }
|
|||
|
|
|
|||
|
|
#endregion Property Source : string
|
|||
|
|
|
|||
|
|
#region Property ElementType : shortementType _elementType;
|
|||
|
|
public EnumElementType ElementType { get; set; }
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Property WhereCluse : string
|
|||
|
|
public string WhereCluse { get; set; }
|
|||
|
|
|
|||
|
|
#endregion Property WhereCluse : string
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
public interface ITranElementService
|
|||
|
|
{
|
|||
|
|
void Save(TranElement tranElement);
|
|||
|
|
void Delete(int tranElementID);
|
|||
|
|
TranElement Get(int tranElementID);
|
|||
|
|
DataTable GetTable();
|
|||
|
|
List<TranElement> Get();
|
|||
|
|
List<TranElement> Get(string source);
|
|||
|
|
List<TranElement> Get(string source, EnumElementType type);
|
|||
|
|
}
|
|||
|
|
}
|