mirror of
https://github.com/bitwarden/server
synced 2026-02-04 10:43:53 +00:00
19 lines
656 B
C#
19 lines
656 B
C#
using Bit.Core.Entities;
|
|
using Bit.Core.Enums;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Core.Dirt.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; internal set; } = DateTime.UtcNow;
|
|
public DateTime RevisionDate { get; set; } = DateTime.UtcNow;
|
|
public string? Filters { get; set; }
|
|
public void SetNewId() => Id = CoreHelpers.GenerateComb();
|
|
}
|