//
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
//
using Astral.Core.Attributes.EntityAnnotation;
namespace Astral.Core.Entities;
///
/// User group entity.
///
[TableMapping("userGroups")]
public class UserGroup
{
///
/// User id.
///
[ColumnMapping("id")]
[PrimaryKey]
public Guid Id { get; set; }
///
/// When the user was created.
///
[ColumnMapping("createdAt")]
public DateTime CreatedAt { get; set; }
///
/// When the user's entity was last updated.
///
[ColumnMapping("updatedAt")]
public DateTime UpdatedAt { get; set; }
///
/// Whether this group is an internal group.
///
[ColumnMapping("internal")]
public bool Internal { get; set; }
///
/// Owner user id.
///
[ColumnMapping("ownerUserId")]
public Guid OwnerUserId { get; set; }
///
/// Group title.
///
[ColumnMapping("title")]
public string Title { get; set; }
///
/// Group description.
///
[ColumnMapping("description")]
public string Description { get; set; }
}