2020-03-24 13:01:14 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2020-03-26 12:25:22 +01:00
|
|
|
|
using System.Drawing;
|
2020-03-24 13:01:14 +01:00
|
|
|
|
using ModernKeePass.Domain.Enums;
|
|
|
|
|
|
|
|
|
|
namespace ModernKeePass.Domain.Entities
|
|
|
|
|
{
|
|
|
|
|
public class EntryEntity: BaseEntity
|
|
|
|
|
{
|
2020-05-12 17:14:30 +02:00
|
|
|
|
public IEnumerable<FieldEntity> Fields { get; set; } = new List<FieldEntity>();
|
2020-03-26 12:25:22 +01:00
|
|
|
|
public IEnumerable<EntryEntity> History { get; set; } = new List<EntryEntity>();
|
2020-05-12 17:14:30 +02:00
|
|
|
|
public Dictionary<string, byte[]> Attachments { get; set; } = new Dictionary<string, byte[]>();
|
|
|
|
|
public DateTimeOffset ExpirationDate { get; set; }
|
2020-03-24 13:01:14 +01:00
|
|
|
|
public Icon Icon { get; set; }
|
2020-03-26 12:25:22 +01:00
|
|
|
|
public Color ForegroundColor { get; set; }
|
|
|
|
|
public Color BackgroundColor { get; set; }
|
2020-03-24 13:01:14 +01:00
|
|
|
|
public bool HasExpirationDate { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|