EchoTex_Payroll/HRM.BO/Basic/MarketSurveyCompany.cs

54 lines
1.2 KiB
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00
using System;
using System.Collections.Generic;
namespace HRM.BO
{
#region MarketSurveyCompany
public class MarketSurveyCompany : BasicBaseObject
{
#region Constructor
public MarketSurveyCompany()
{
Code = string.Empty;
Name = string.Empty;
Address = string.Empty;
Status = EnumStatus.Active;
}
#endregion
#region Properties
public string Code { get; set; }
public string Name { get; set; }
public string Address { get; set; }
//#region Service Factory IMarketSurveyCompanyService : IMarketSurveyCompanyService
//internal static IMarketSurveyCompanyService Service
//{
// get { return Services.Factory.CreateService<IMarketSurveyCompanyService>(typeof(IMarketSurveyCompanyService)); }
//}
//#endregion
#endregion
}
#endregion
#region IMarketSurveyCompany Service
public interface IMarketSurveyCompanyService
{
MarketSurveyCompany Get(int id);
List<MarketSurveyCompany> Get(EnumStatus status);
int Save(MarketSurveyCompany item);
void Delete(int id);
}
#endregion
}