Class PersonProps

Assembly: redb.Examples.dll

Person props demonstrating ListItem fields.
Shows single ListItem and List of ListItems usage.

[RedbScheme("Person")]
public class PersonProps

Inheritance

ObjectPersonProps

Properties

Age

Age in years.

public int Age { get; set; }

Email

Email address.

public string Email { get; set; }

Name

Person name.

public string Name { get; set; }

Roles

Array of ListItems (e.g. roles from dictionary).

public List<RedbListItem>? Roles { get; set; }

Status

Single ListItem field (e.g. status from dictionary).

public RedbListItem? Status { get; set; }