1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

store password history and revision dates

This commit is contained in:
Kyle Spearrin
2018-07-27 17:49:27 -04:00
parent 91765477c5
commit 5c31a35cfe
7 changed files with 55 additions and 3 deletions

View File

@ -13,10 +13,12 @@ namespace Bit.Core.Models.Data
Name = cipher.Name;
Notes = cipher.Notes;
Fields = cipher.Fields?.Select(f => new CipherFieldData(f));
PasswordHistory = cipher.PasswordHistory?.Select(ph => new CipherPasswordHistoryData(ph));
}
public string Name { get; set; }
public string Notes { get; set; }
public IEnumerable<CipherFieldData> Fields { get; set; }
public IEnumerable<CipherPasswordHistoryData> PasswordHistory { get; set; }
}
}