46 lines
922 B
C#
46 lines
922 B
C#
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region AutoObject
|
|||
|
|
|||
|
public class AutoObject : BasicBaseObject
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public AutoObject()
|
|||
|
{
|
|||
|
MenuKey = string.Empty;
|
|||
|
Name = string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Properties
|
|||
|
|
|||
|
public string Name { get; set; }
|
|||
|
public string MenuKey { get; set; }
|
|||
|
|
|||
|
//#region Service Factory IDesignationService : IDesignationService
|
|||
|
|
|||
|
//internal static IAutoObjectService Service
|
|||
|
//{
|
|||
|
// get { return Services.Factory.CreateService<IAutoObjectService>(typeof(IAutoObjectService)); }
|
|||
|
//}
|
|||
|
|
|||
|
//#endregion
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region IAutoObjectService Service
|
|||
|
|
|||
|
public interface IAutoObjectService
|
|||
|
{
|
|||
|
AutoObject Get(string sFormName);
|
|||
|
int Save(AutoObject item);
|
|||
|
void Delete(int id);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|