Role.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace CoreEntity.Entity
  5. {
  6. [Serializable]
  7. public class Role
  8. {
  9. private int _id;
  10. private string _rolename;
  11. private int _roledepartmentid;
  12. private string _roleremark;
  13. private bool _isdelete;
  14. private int _creationperson;
  15. private DateTime _creationdate;
  16. private int _lastmodifiedperson;
  17. private DateTime _lastmodified;
  18. private List<Permission> _permissionlist;
  19. public Role()
  20. {
  21. }
  22. public int Id
  23. {
  24. get { return _id; }
  25. set { _id = value; }
  26. }
  27. public string RoleName
  28. {
  29. get { return _rolename; }
  30. set { _rolename = value; }
  31. }
  32. public int RoleDepartmentId
  33. {
  34. get { return _roledepartmentid; }
  35. set { _roledepartmentid = value; }
  36. }
  37. public string RoleRemark
  38. {
  39. get { return _roleremark; }
  40. set { _roleremark = value; }
  41. }
  42. public bool IsDelete
  43. {
  44. get { return _isdelete; }
  45. set { _isdelete = value; }
  46. }
  47. public int CreationPerson
  48. {
  49. get { return _creationperson; }
  50. set { _creationperson = value; }
  51. }
  52. public DateTime CreationDate
  53. {
  54. get { return _creationdate; }
  55. set { _creationdate = value; }
  56. }
  57. public int LastModifiedPerson
  58. {
  59. get { return _lastmodifiedperson; }
  60. set { _lastmodifiedperson = value; }
  61. }
  62. public DateTime LastModified
  63. {
  64. get { return _lastmodified; }
  65. set { _lastmodified = value; }
  66. }
  67. public List<Permission> PermissionList
  68. {
  69. get { return _permissionlist; }
  70. set { _permissionlist = value; }
  71. }
  72. }
  73. }