| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.ComponentModel.DataAnnotations; |
| | | 4 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 5 | | using System.Linq; |
| | | 6 | | using System.Runtime.Serialization; |
| | | 7 | | using System.Threading.Tasks; |
| | | 8 | | |
| | | 9 | | namespace MUNity.Database.Models.Organization; |
| | | 10 | | |
| | | 11 | | public class OrganizationRole |
| | | 12 | | { |
| | 1 | 13 | | public int OrganizationRoleId { get; set; } |
| | | 14 | | |
| | | 15 | | [MaxLength(150)] |
| | 5 | 16 | | public string RoleName { get; set; } |
| | | 17 | | |
| | 5 | 18 | | public Organization Organization { get; set; } |
| | | 19 | | |
| | 1 | 20 | | public ICollection<OrganizationMember> MembersWithRole { get; set; } |
| | | 21 | | |
| | 4 | 22 | | public bool CanCreateProject { get; set; } |
| | | 23 | | |
| | 2 | 24 | | public bool CanCreateRoles { get; set; } |
| | | 25 | | |
| | 3 | 26 | | public bool CanManageMembers { get; set; } |
| | | 27 | | } |