Class OrganizationUser
Represents the relationship between users and organizations with role-based permissions.
Inherited Members
Namespace: OEMS.Core.Domain.Klassen
Assembly: OEMS.Core.dll
Syntax
public class OrganizationUser
Properties
IsDesigner
Gets or sets whether the user has design and branding privileges.
Declaration
[Required]
public bool IsDesigner { get; set; }
Property Value
Type | Description |
---|---|
bool | True if the user can modify organization design elements, otherwise false. |
IsExternal
Gets or sets whether the user is an external member of the organization.
Declaration
[Required]
public bool IsExternal { get; set; }
Property Value
Type | Description |
---|---|
bool | True if the user is external to the organization, otherwise false. |
IsOrgAdmin
Gets or sets whether the user has organization administrator privileges.
Declaration
[Required]
public bool IsOrgAdmin { get; set; }
Property Value
Type | Description |
---|---|
bool | True if the user is an organization administrator, otherwise false. |
IsOrganizer
Gets or sets whether the user has event organizer privileges.
Declaration
[Required]
public bool IsOrganizer { get; set; }
Property Value
Type | Description |
---|---|
bool | True if the user can organize events within the organization, otherwise false. |
JoinDate
Gets or sets the date when the user joined the organization.
Declaration
[Required]
public DateTime JoinDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The timestamp indicating when the user became a member of the organization. |
Organization
Gets or sets the navigation property to the associated organization.
Declaration
[ForeignKey("OrganizationId")]
public virtual Organization Organization { get; set; }
Property Value
Type | Description |
---|---|
Organization | The organization entity that the user belongs to. |
OrganizationId
Gets or sets the identifier of the organization.
Declaration
[Key]
[Column(Order = 1)]
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the organization in this organization-user relationship. |
User
Gets or sets the navigation property to the associated user.
Declaration
[ForeignKey("UserId")]
public virtual User User { get; set; }
Property Value
Type | Description |
---|---|
User | The user entity that is a member of the organization. |
UserId
Gets or sets the identifier of the user.
Declaration
[Key]
[Column(Order = 0)]
public Guid UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the user in this organization-user relationship. |