mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
20 lines
631 B
C#
20 lines
631 B
C#
using Bit.Core.Entities;
|
|
using Bit.Core.Enums;
|
|
using Bit.Core.Utilities;
|
|
|
|
#nullable enable
|
|
|
|
namespace Bit.Core.AdminConsole.Entities;
|
|
|
|
public class OrganizationIntegrationConfiguration : ITableObject<Guid>
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid OrganizationIntegrationId { get; set; }
|
|
public EventType EventType { get; set; }
|
|
public string? Configuration { get; set; }
|
|
public string? Template { get; set; }
|
|
public DateTime CreationDate { get; set; } = DateTime.UtcNow;
|
|
public DateTime RevisionDate { get; set; } = DateTime.UtcNow;
|
|
public void SetNewId() => Id = CoreHelpers.GenerateComb();
|
|
}
|