astral-api/Astral.Services/Dtos/UserGroupDto.cs
2024-12-11 20:36:30 +00:00

41 lines
1,013 B
C#

// <copyright file="UserGroupDto.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
namespace Astral.Services.Dtos;
/// <summary>
/// Data transfer object for user group.
/// </summary>
public class UserGroupDto
{
/// <summary>
/// User group id.
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// When the user group was created.
/// </summary>
public DateTime CreationDate { get; set; }
/// <summary>
/// When the user group was created in ticks.
/// </summary>
public long CreationDateTicks { get; set; }
/// <summary>
/// The title of the user group.
/// </summary>
public string Title { get; set; }
/// <summary>
/// The description of the user group.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Whether this is an internal-use user group.
/// </summary>
public bool Internal { get; set; }
}