115 lines
2.6 KiB
C#
115 lines
2.6 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 UserRecord
|
|
[Serializable]
|
|
public class UserRecord : BasicBaseObject
|
|
{
|
|
#region Constructor
|
|
public UserRecord()
|
|
{
|
|
UserObjectID = 0;
|
|
PositionNo = 0;
|
|
Field1 = string.Empty;
|
|
Field1LastValue = string.Empty;
|
|
Field1n2 = string.Empty;
|
|
Field2 = string.Empty;
|
|
Field3 = string.Empty;
|
|
Field4 = string.Empty;
|
|
Field5 = string.Empty;
|
|
Field6 = string.Empty;
|
|
Field7 = string.Empty;
|
|
Field8 = string.Empty;
|
|
}
|
|
|
|
public UserRecord(int userobjectid, int fundTypeID, string fld1, string fld2, string fld3)
|
|
{
|
|
UserObjectID = userobjectid;
|
|
FundTypeID = fundTypeID;
|
|
Field1 = fld1;
|
|
Field2 = fld2;
|
|
Field3 = fld3;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
#region UserObjectID
|
|
public int UserObjectID { get; set; }
|
|
public int FundTypeID { get; set; }
|
|
#endregion
|
|
|
|
#region UserObject
|
|
public UserObject UserObject { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region PositionNo
|
|
public int PositionNo { get; set; }
|
|
#endregion
|
|
|
|
#region Field1
|
|
public string Field1 { get; set; }
|
|
#endregion
|
|
|
|
#region Field1LastValue
|
|
private string _sField1LastValue;
|
|
public string Field1LastValue{ get; set; }
|
|
#endregion
|
|
|
|
#region Field2
|
|
public string Field2{ get; set; }
|
|
#endregion
|
|
|
|
#region Field1n2
|
|
public string Field1n2 { get; set; }
|
|
#endregion
|
|
|
|
#region Field3
|
|
public string Field3 { get; set; }
|
|
#endregion
|
|
|
|
#region Field4
|
|
public string Field4 { get; set; }
|
|
#endregion
|
|
|
|
#region Field5
|
|
public string Field5 { get; set; }
|
|
#endregion
|
|
|
|
#region Field6
|
|
public string Field6 { get; set; }
|
|
#endregion
|
|
|
|
#region Field7
|
|
public string Field7 { get; set; }
|
|
#endregion
|
|
|
|
#region Field8
|
|
public string Field8 { get; set; }
|
|
#endregion
|
|
#endregion
|
|
public string EmpCode { get; set; }
|
|
|
|
|
|
}
|
|
#endregion
|
|
|
|
#region IUserRecordService
|
|
public interface IUserRecordService
|
|
{
|
|
UserRecord GetByField1(string sUserRecordField1, int userObjectID, int fundTypeID);
|
|
List<UserRecord> GetUserRecordByUserObjectID(int id, int fundtypeid);
|
|
}
|
|
#endregion
|
|
}
|