56 lines
1.2 KiB
C#
56 lines
1.2 KiB
C#
|
|
using Ease.Core.Model;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
|
|||
|
|
|
|||
|
|
namespace HRM.BO
|
|||
|
|
{
|
|||
|
|
#region AccessCardType
|
|||
|
|
|
|||
|
|
//[Serializable]
|
|||
|
|
public class AccessCardType : BasicBaseObject
|
|||
|
|
{
|
|||
|
|
#region Constructor
|
|||
|
|
|
|||
|
|
public AccessCardType()
|
|||
|
|
{
|
|||
|
|
Description = string.Empty;
|
|||
|
|
_status = EnumStatus.Active;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Properties
|
|||
|
|
|
|||
|
|
public string Description { get; set; }
|
|||
|
|
public EnumCardStatus Status { get; set; }
|
|||
|
|
#region Service Factory IAccesscardTypeService : IAccesscardTypeService
|
|||
|
|
|
|||
|
|
//internal static IAccesscardTypeService Service
|
|||
|
|
//{
|
|||
|
|
// get { return Services.Factory.CreateService<IAccesscardTypeService>(typeof(IAccesscardTypeService)); }
|
|||
|
|
//}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region IAccesscardType Service
|
|||
|
|
|
|||
|
|
public interface IAccessCardTypeService
|
|||
|
|
{
|
|||
|
|
AccessCardType Get(int id);
|
|||
|
|
List<AccessCardType> Get();
|
|||
|
|
List<AccessCardType> Get(EnumStatus status);
|
|||
|
|
int Save(AccessCardType item);
|
|||
|
|
void Delete(int id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
}
|