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
|
|
|
|
|
{
|
|
|
|
|
public string UserName { get; set; }
|
|
|
|
|
public string Password { get; set; }
|
2020-04-20 20:02:43 +02:00
|
|
|
|
public string Url { get; set; }
|
2020-03-24 13:01:14 +01:00
|
|
|
|
public string Notes { get; set; }
|
|
|
|
|
public DateTimeOffset ExpirationDate { get; set; }
|
|
|
|
|
public Dictionary<string, string> AdditionalFields { get; set; } = new Dictionary<string, string>();
|
2020-03-26 12:25:22 +01:00
|
|
|
|
public IEnumerable<EntryEntity> History { get; set; } = new List<EntryEntity>();
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|