astral-api/Astral.Services/Dtos/UserGroupDto.cs

42 lines
1,013 B
C#
Raw Normal View History

2024-12-11 21:36:30 +01:00
// <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; }
}