mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 22:23:18 +08:00
14 lines
383 B
C#
14 lines
383 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|
|||
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|||
|
|
|
|||
|
|
public class Cache
|
|||
|
|
{
|
|||
|
|
[StringLength(449)]
|
|||
|
|
public string Id { get; set; }
|
|||
|
|
public byte[] Value { get; set; }
|
|||
|
|
public DateTime ExpiresAtTime { get; set; }
|
|||
|
|
public long? SlidingExpirationInSeconds { get; set; }
|
|||
|
|
public DateTime? AbsoluteExpiration { get; set; }
|
|||
|
|
}
|