//----------------------------------------------------------------------- // // Copyright (c) aliasvault. All rights reserved. // Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information. // //----------------------------------------------------------------------- namespace AliasClientDb; using System.ComponentModel.DataAnnotations; using AliasClientDb.Abstracts; /// /// The service entity. /// public class Service : SyncableEntity { /// /// Gets or sets the service primary key. /// [Key] public Guid Id { get; set; } /// /// Gets or sets the service name. /// [StringLength(255)] public string? Name { get; set; } /// /// Gets or sets the service URL. /// [StringLength(255)] public string? Url { get; set; } /// /// Gets or sets image logo of the service. /// public byte[]? Logo { get; set; } = null; /// /// Gets or sets the credential objects. /// public virtual ICollection Credentials { get; set; } = []; }