mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
cipher share data and key response
This commit is contained in:
@ -11,6 +11,7 @@ namespace Bit.Core.Domains
|
||||
public Enums.CipherType Type { get; set; }
|
||||
public bool Favorite { get; set; }
|
||||
public string Data { get; set; }
|
||||
public string Shares { get; set; }
|
||||
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
|
||||
public DateTime RevisionDate { get; internal set; } = DateTime.UtcNow;
|
||||
|
||||
@ -18,5 +19,12 @@ namespace Bit.Core.Domains
|
||||
{
|
||||
Id = CoreHelpers.GenerateComb();
|
||||
}
|
||||
|
||||
public class Share
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public string Key { get; set; }
|
||||
// TODO: permission flags?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user