using System; namespace APT.Infrastructure.Core { public class SimpleSession : ISession, ISessionProvider { #region ISession 成员 public string UserId { get; set; } public Guid? UserID { get; set; } public string UserCode { get; set; } public string UserName { get; set; } public string DepartmentId { get; set; } public Guid? DepartmentID { get; set; } public Guid? OrgId { get; set; } public Guid? RootOrgId { get; set; } public string MineType { get; set; } public string[] DataRule { get; set; } #endregion #region ISessionProvider 成员 public ISession GetSession() { return this; } #endregion } }