123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- using Lottomat.Application.Code;
- using System;
- using Lottomat.Util;
- using Lottomat.Utils.Date;
- namespace Lottomat.Application.Entity.AuthorizeManage
- {
-
-
-
-
-
-
-
- public class AuthorizeDataEntity : BaseEntity
- {
- #region 实体成员
-
-
-
- public string AuthorizeDataId { get; set; }
-
-
-
- public int? AuthorizeType { get; set; }
-
-
-
- public int Category { get; set; }
-
-
-
- public string ObjectId { get; set; }
-
-
-
- public string ItemId { get; set; }
-
-
-
- public string ItemName { get; set; }
-
-
-
- public string ResourceId { get; set; }
-
-
-
- public int IsRead { get; set; }
-
-
-
- public string AuthorizeConstraint { get; set; }
-
-
-
- public int? SortCode { get; set; }
-
-
-
- public DateTime CreateDate { get; set; }
-
-
-
- public string CreateUserId { get; set; }
-
-
-
- public string CreateUserName { get; set; }
- #endregion
- #region 扩展操作
-
-
-
- public override void Create()
- {
- this.AuthorizeDataId = CommonHelper.GetGuid().ToString();
- this.CreateDate = DateTimeHelper.Now;
- this.CreateUserId = OperatorProvider.Provider.Current().UserId;
- this.CreateUserName = OperatorProvider.Provider.Current().UserName;
- }
-
-
-
-
- public override void Modify(string keyValue)
- {
- this.AuthorizeDataId = keyValue;
- }
- #endregion
- }
- }
|