58 lines
1.3 KiB
C#
58 lines
1.3 KiB
C#
|
|
using Ease.Core.DataAccess;
|
|||
|
|
using Ease.Core.Model;
|
|||
|
|
using Ease.Core.Utility;
|
|||
|
|
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace HRM.BO
|
|||
|
|
{
|
|||
|
|
public class FundBranch : BasicBaseObject
|
|||
|
|
{
|
|||
|
|
#region Constructor
|
|||
|
|
|
|||
|
|
public FundBranch()
|
|||
|
|
{
|
|||
|
|
Code = string.Empty;
|
|||
|
|
Name = string.Empty;
|
|||
|
|
Address = string.Empty;
|
|||
|
|
Telephone = string.Empty;
|
|||
|
|
BankID = 0;
|
|||
|
|
Bank = null;
|
|||
|
|
Status = EnumStatus.Active;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
|
|||
|
|
#region Properties
|
|||
|
|
|
|||
|
|
public string Code { get; set; }
|
|||
|
|
public int RoutingNo { get; set; }
|
|||
|
|
public string Name { get; set; }
|
|||
|
|
public string Address { get; set; }
|
|||
|
|
public string Telephone { get; set; }
|
|||
|
|
public string FaxNo { get; set; }
|
|||
|
|
public int BankID { get; set; }
|
|||
|
|
public Bank Bank { get; set; }
|
|||
|
|
public int FundTypeID { get; set; }
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
public interface IFundBranchService
|
|||
|
|
{
|
|||
|
|
FundBranch Get(int id);
|
|||
|
|
List<FundBranch> Get();
|
|||
|
|
List<FundBranch> GetBranchByFundTypeID(int fundTypeID);
|
|||
|
|
List<FundBranch> GetBranchByBankID(int bankID);
|
|||
|
|
int Save(FundBranch item);
|
|||
|
|
void Delete(int id);
|
|||
|
|
string GetNextCode();
|
|||
|
|
List<FundBranch> GetFundbranches(EnumStatus status);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|