1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-22 03:03:46 +00:00

more models

This commit is contained in:
Kyle Spearrin
2019-04-12 11:42:45 -04:00
parent c89805d123
commit 87798612a6
17 changed files with 330 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using Bit.Core.Models.Api;
namespace Bit.Core.Models.Data
{
public class CardData : Data
{
public CardData() { }
public CardData(CardApi data)
{
CardholderName = data.CardholderName;
Brand = data.Brand;
Number = data.Number;
ExpMonth = data.ExpMonth;
ExpYear = data.ExpYear;
Code = data.Code;
}
public string CardholderName { get; set; }
public string Brand { get; set; }
public string Number { get; set; }
public string ExpMonth { get; set; }
public string ExpYear { get; set; }
public string Code { get; set; }
}
}