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 Get(EnumStatus status); //List GetRelateWithEmpolyee(EnumStatus status, int payrollTypeID); int GetMaxID(); //List Get(EnumStatus status, string sIDs, string sTargetPropertyName); int Save(Store item); void Delete(int id); Store Get(string sCode); string GetNextCode(); List GetWithSapCodes(EnumStatus status); List GetAllStore(EnumStatus status, string code, string name); } #endregion }