mirror of
https://github.com/bitwarden/server
synced 2026-02-10 13:40:10 +00:00
17 lines
554 B
C#
17 lines
554 B
C#
using Bit.Core.Dirt.Enums;
|
|
using Bit.Core.Entities;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Core.Dirt.Entities;
|
|
|
|
public class OrganizationIntegration : ITableObject<Guid>
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid OrganizationId { get; set; }
|
|
public IntegrationType Type { get; set; }
|
|
public string? Configuration { get; set; }
|
|
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
|
|
public DateTime RevisionDate { get; set; } = DateTime.UtcNow;
|
|
public void SetNewId() => Id = CoreHelpers.GenerateComb();
|
|
}
|