mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
17 lines
363 B
C#
17 lines
363 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "RP", IsNullable = true)]
|
|
[Serializable]
|
|
public class RolePermission {
|
|
[XmlElement(ElementName = "G")]
|
|
public GroupType GroupType;
|
|
|
|
[XmlElement(ElementName = "R")]
|
|
public UserRole Role;
|
|
|
|
[XmlElement(ElementName = "P")]
|
|
public List<string> Permissions;
|
|
}
|