using System; using System.Collections.Generic; using System.Text; namespace CoreEntity.Entity { [Serializable] public class Role { private int _id; private string _rolename; private int _roledepartmentid; private string _roleremark; private bool _isdelete; private int _creationperson; private DateTime _creationdate; private int _lastmodifiedperson; private DateTime _lastmodified; private List _permissionlist; public Role() { } public int Id { get { return _id; } set { _id = value; } } public string RoleName { get { return _rolename; } set { _rolename = value; } } public int RoleDepartmentId { get { return _roledepartmentid; } set { _roledepartmentid = value; } } public string RoleRemark { get { return _roleremark; } set { _roleremark = value; } } public bool IsDelete { get { return _isdelete; } set { _isdelete = value; } } public int CreationPerson { get { return _creationperson; } set { _creationperson = value; } } public DateTime CreationDate { get { return _creationdate; } set { _creationdate = value; } } public int LastModifiedPerson { get { return _lastmodifiedperson; } set { _lastmodifiedperson = value; } } public DateTime LastModified { get { return _lastmodified; } set { _lastmodified = value; } } public List PermissionList { get { return _permissionlist; } set { _permissionlist = value; } } } }