54 lines
1.2 KiB
C#
54 lines
1.2 KiB
C#
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
|
|
} |