EchoTex_Payroll/HRM.BO/Basic/Store.cs

53 lines
1.3 KiB
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00
using System;
using System.Collections.Generic;
namespace HRM.BO
{
#region Store
public class Store : BasicBaseObject
{
#region Constructor
public Store()
{
Code = string.Empty;
Name = string.Empty;
Status = EnumStatus.Active;
}
#endregion
#region Properties
public string Code { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string Phone { get; set; }
public int RefereceId { get; set; }
public string StoreType { get; set; }
public int PayrollTypeId { get; set; }
#endregion
}
#endregion
#region IStore Service
public interface IStoreService
{
Store Get(int id);
List<Store> Get(EnumStatus status);
//List<Store> GetRelateWithEmpolyee(EnumStatus status, int payrollTypeID);
int GetMaxID();
//List<Store> Get(EnumStatus status, string sIDs, string sTargetPropertyName);
int Save(Store item);
void Delete(int id);
Store Get(string sCode);
string GetNextCode();
List<Store> GetWithSapCodes(EnumStatus status);
List<Store> GetAllStore(EnumStatus status, string code, string name);
}
#endregion
}