using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HRM.BO { #region DataPermission public class DataPermission : BasicBaseObject { #region Constructor public DataPermission() { } #endregion #region Properties public int UserID { get; set; } public EnumUserType UserType { get; set; } public int PayrollTypeID { get; set; } public int? ReferenceID { get; set; } public EnumDataPermissionType PermissionType{ get; set;} public EnumMenuPermissionStatus PermissionStatus { get; set; } public string referenceName { get; set; } #endregion } #endregion #region IDataPermission Service public interface IDataPermissionService { //public DataPermission Get(int id) DataPermission Get(int id); List Get(); List Get(int UserID, int PayrollTypeID); List getUsersByUserType(EnumUserType userType); void InsertDataPermission(DataPermission item); int Save(DataPermission item); void Delete(int id); } #endregion }