199 lines
4.1 KiB
C#
199 lines
4.1 KiB
C#
|
|
using Ease.Core.DataAccess;
|
|||
|
|
using Ease.Core;
|
|||
|
|
using Ease.Core.Model;
|
|||
|
|
using Ease.Core.Utility;
|
|||
|
|
using HRM.BO;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Data;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using NPOI.OpenXmlFormats.Wordprocessing;
|
|||
|
|
using NPOI.SS.Formula.Functions;
|
|||
|
|
|
|||
|
|
namespace HRM.BO
|
|||
|
|
{
|
|||
|
|
public class FundBank : BasicBaseObject
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
#region Constructor
|
|||
|
|
|
|||
|
|
public FundBank()
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
_type = 0;
|
|||
|
|
_code = string.Empty;
|
|||
|
|
_name = string.Empty;
|
|||
|
|
_glID = 0;
|
|||
|
|
_rating = 0;
|
|||
|
|
_ratio = 0;
|
|||
|
|
_threeMonthInterest = 0;
|
|||
|
|
_sixMonthInterest = 0;
|
|||
|
|
_oneYearInterest = 0;
|
|||
|
|
_fiveYearInterest = 0;
|
|||
|
|
_address = string.Empty;
|
|||
|
|
_webAddress = string.Empty;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Properties
|
|||
|
|
|
|||
|
|
#region type : EnumGLType
|
|||
|
|
|
|||
|
|
private EnumGLType _type;
|
|||
|
|
public EnumGLType Type
|
|||
|
|
{
|
|||
|
|
get { return _type; }
|
|||
|
|
set { _type = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region code : string
|
|||
|
|
|
|||
|
|
private string _code;
|
|||
|
|
|
|||
|
|
public string Code
|
|||
|
|
{
|
|||
|
|
get { return _code; }
|
|||
|
|
set { _code = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region name : string
|
|||
|
|
|
|||
|
|
private string _name;
|
|||
|
|
|
|||
|
|
public string Name
|
|||
|
|
{
|
|||
|
|
get { return _name; }
|
|||
|
|
set { _name = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region glID : int
|
|||
|
|
|
|||
|
|
private int _glID;
|
|||
|
|
|
|||
|
|
public int GLID
|
|||
|
|
{
|
|||
|
|
get { return _glID; }
|
|||
|
|
set { _glID = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region raiting : EnumBankRating
|
|||
|
|
private EnumBankRating _rating;
|
|||
|
|
|
|||
|
|
public EnumBankRating Rating
|
|||
|
|
{
|
|||
|
|
get { return _rating;}
|
|||
|
|
set { _rating = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region ratio : double
|
|||
|
|
|
|||
|
|
private double _ratio;
|
|||
|
|
|
|||
|
|
public double Ratio
|
|||
|
|
{
|
|||
|
|
get { return _ratio; }
|
|||
|
|
set { _ratio = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region threeMonthInterest: double
|
|||
|
|
|
|||
|
|
private double _threeMonthInterest;
|
|||
|
|
|
|||
|
|
public double ThreeMonthInterest
|
|||
|
|
{ get { return _threeMonthInterest; }
|
|||
|
|
set { _threeMonthInterest = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region sixMonthInterest: double
|
|||
|
|
|
|||
|
|
private double _sixMonthInterest;
|
|||
|
|
|
|||
|
|
public double SixMonthInterest
|
|||
|
|
{
|
|||
|
|
get { return _sixMonthInterest; }
|
|||
|
|
set { _sixMonthInterest = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region oneYearInterest: double
|
|||
|
|
|
|||
|
|
private double _oneYearInterest;
|
|||
|
|
|
|||
|
|
public double OneYearInterest
|
|||
|
|
{
|
|||
|
|
get { return _oneYearInterest; }
|
|||
|
|
set { _oneYearInterest = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region fiveYearInterest: double
|
|||
|
|
|
|||
|
|
private double _fiveYearInterest;
|
|||
|
|
|
|||
|
|
public double FiveYearInterest
|
|||
|
|
{
|
|||
|
|
get { return _fiveYearInterest; }
|
|||
|
|
set { _fiveYearInterest = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region address: string
|
|||
|
|
private string _address;
|
|||
|
|
public string Address
|
|||
|
|
{
|
|||
|
|
get { return _address; }
|
|||
|
|
set { _address = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region webAddress : string
|
|||
|
|
private string _webAddress;
|
|||
|
|
public string WebAddress
|
|||
|
|
{
|
|||
|
|
get { return _webAddress; }
|
|||
|
|
set { _webAddress = value; }
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region fundTypeID : int
|
|||
|
|
|
|||
|
|
private int _fundTypeID;
|
|||
|
|
|
|||
|
|
public int FundTypeID
|
|||
|
|
{
|
|||
|
|
get { return _fundTypeID; }
|
|||
|
|
set { _fundTypeID = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
public interface IFundBankService
|
|||
|
|
{
|
|||
|
|
FundBank Get(int id);
|
|||
|
|
List<FundBank> GetByFundTypeID(int fundTypeID);
|
|||
|
|
List<FundBank> Get();
|
|||
|
|
List<FundBank> Get(int id, int payrollTypeID);
|
|||
|
|
int Save(FundBank obj);
|
|||
|
|
void Delete(int id);
|
|||
|
|
string GetNextCode();
|
|||
|
|
}
|
|||
|
|
}
|