mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
domains and view stubs
This commit is contained in:
20
src/Core/Models/View/CardView.cs
Normal file
20
src/Core/Models/View/CardView.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Bit.Core.Models.Domain;
|
||||
|
||||
namespace Bit.Core.Models.View
|
||||
{
|
||||
public class CardView : View
|
||||
{
|
||||
public CardView() { }
|
||||
|
||||
public CardView(Card c) { }
|
||||
|
||||
public string Id { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string Size { get; set; }
|
||||
public string SizeName { get; set; }
|
||||
public string FileName { get; set; }
|
||||
public SymmetricCryptoKey Key { get; set; }
|
||||
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
32
src/Core/Models/View/IdentityView.cs
Normal file
32
src/Core/Models/View/IdentityView.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using Bit.Core.Models.Domain;
|
||||
|
||||
namespace Bit.Core.Models.View
|
||||
{
|
||||
public class IdentityView : View
|
||||
{
|
||||
public IdentityView() { }
|
||||
|
||||
public IdentityView(Identity i) { }
|
||||
|
||||
public string Title { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string MiddleName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string Address1 { get; set; }
|
||||
public string Address2 { get; set; }
|
||||
public string Address3 { get; set; }
|
||||
public string City { get; set; }
|
||||
public string State { get; set; }
|
||||
public string PostalCode { get; set; }
|
||||
public string Country { get; set; }
|
||||
public string Company { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string SSN { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string PassportNumber { get; set; }
|
||||
public string LicenseNumber { get; set; }
|
||||
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
18
src/Core/Models/View/SecureNoteView.cs
Normal file
18
src/Core/Models/View/SecureNoteView.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Models.Domain;
|
||||
|
||||
namespace Bit.Core.Models.View
|
||||
{
|
||||
public class SecureNoteView : View
|
||||
{
|
||||
public SecureNoteView() { }
|
||||
|
||||
public SecureNoteView(SecureNote n)
|
||||
{
|
||||
Type = n.Type;
|
||||
}
|
||||
|
||||
public SecureNoteType Type { get; set; }
|
||||
public string SubTitle => null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user