mh_frame_sps/APT.Infrastructure.Core/Structs/SimpleSession.cs

41 lines
784 B
C#
Raw Normal View History

2026-04-07 13:47:52 +08:00
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
}
}