You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DepartmentReleasePermissionsEntity.cs 1.5 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using Learun.Util;
  2. using System;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace Learun.Application.TwoDevelopment.Permission
  5. {
  6. /// <summary>
  7. /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
  8. /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
  9. /// 创 建:超级管理员
  10. /// 日 期:2020-12-22 11:35
  11. /// 描 述:公告发布权限设置
  12. /// </summary>
  13. public class DepartmentReleasePermissionsEntity
  14. {
  15. #region 实体成员
  16. /// <summary>
  17. /// 编号
  18. /// </summary>
  19. [Column("ID")]
  20. public string ID { get; set; }
  21. /// <summary>
  22. /// 部门
  23. /// </summary>
  24. [Column("DEPARTMENTID")]
  25. public string DepartmentID { get; set; }
  26. /// <summary>
  27. /// 人员
  28. /// </summary>
  29. [Column("USERID")]
  30. public string UserID { get; set; }
  31. /// <summary>
  32. /// 权限
  33. /// </summary>
  34. [Column("PERMISSION")]
  35. public string Permission { get; set; }
  36. #endregion
  37. #region 扩展操作
  38. /// <summary>
  39. /// 新增调用
  40. /// </summary>
  41. public void Create()
  42. {
  43. this.ID = Guid.NewGuid().ToString();
  44. }
  45. /// <summary>
  46. /// 编辑调用
  47. /// </summary>
  48. /// <param name="keyValue"></param>
  49. public void Modify(string keyValue)
  50. {
  51. this.ID = keyValue;
  52. }
  53. #endregion
  54. #region 扩展字段
  55. #endregion
  56. }
  57. }