47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Ease.CoreV35.Model;
|
|
|
|
namespace Payroll.BO
|
|
{
|
|
[Serializable]
|
|
public class ColumnDefinationException
|
|
{
|
|
|
|
public ColumnDefinationException() {}
|
|
|
|
public void UploadException(int uploadId, DataUploadColumnDefinition odefination)
|
|
{
|
|
switch (uploadId)
|
|
{
|
|
case (int)42: //Appraisal Point
|
|
{
|
|
this.AppraisalPoint(odefination);
|
|
break;
|
|
}
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
|
|
#region Column Defination For Appraisal Point
|
|
|
|
private void AppraisalPoint(DataUploadColumnDefinition odefination)
|
|
{
|
|
odefination.SheetName = "EmpAppraisalPoint";
|
|
odefination.Add("Employee No", "String", "No");
|
|
odefination.Add("Rating", "String", "No");
|
|
odefination.ItemThreeDateText = "Appraisal Year :";
|
|
odefination.ItemThreeDateData = DateTime.Now;
|
|
odefination.FormText = "Upload Appraisal Point";
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
}
|