Class Feedback
Represents feedback submitted by users for events, including ratings and comments.
Inherited Members
Namespace: OEMS.Core.Domain.Klassen
Assembly: OEMS.Core.dll
Syntax
public class Feedback
Properties
Comment
Gets or sets optional textual comments provided by the user.
Declaration
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
string | Additional feedback comments, or null if no comment was provided. |
Event
Gets or sets the navigation property to the associated event.
Declaration
[ForeignKey("EventId")]
public virtual Event Event { get; set; }
Property Value
Type | Description |
---|---|
Event | The event entity that this feedback relates to. |
EventId
Gets or sets the identifier of the event being reviewed.
Declaration
[Required]
public Guid EventId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the event that this feedback relates to. |
Id
Gets or sets the unique identifier for the feedback entry.
Declaration
[Key]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid | A GUID that uniquely identifies this feedback record. |
IsAnonymous
Gets or sets whether this feedback should be treated as anonymous.
Declaration
[Required]
public bool IsAnonymous { get; set; }
Property Value
Type | Description |
---|---|
bool | True if the feedback should be anonymous, false if the user identity should be visible. |
Rating
Gets or sets the numerical rating provided by the user.
Declaration
[Required]
public int Rating { get; set; }
Property Value
Type | Description |
---|---|
int | The rating score, typically on a scale (e.g., 1-5 or 1-10). |
SubmissionDate
Gets or sets the date and time when the feedback was submitted.
Declaration
[Required]
public DateTime SubmissionDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The timestamp indicating when this feedback was recorded. |
User
Gets or sets the navigation property to the user who provided the feedback.
Declaration
[ForeignKey("UserId")]
public virtual User User { get; set; }
Property Value
Type | Description |
---|---|
User | The user entity who submitted this feedback. |
UserId
Gets or sets the identifier of the user providing the feedback.
Declaration
[Required]
public Guid UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the user who submitted this feedback. |