38 lines
873 B
C#
38 lines
873 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace WebMVC.Models
|
|
{
|
|
public class BasketDTO
|
|
{
|
|
[Required]
|
|
public string City { get; set; }
|
|
[Required]
|
|
public string Street { get; set; }
|
|
[Required]
|
|
public string State { get; set; }
|
|
[Required]
|
|
public string Country { get; set; }
|
|
|
|
public string ZipCode { get; set; }
|
|
[Required]
|
|
public string CardNumber { get; set; }
|
|
[Required]
|
|
public string CardHolderName { get; set; }
|
|
|
|
[Required]
|
|
public DateTime CardExpiration { get; set; }
|
|
|
|
[Required]
|
|
public string CardSecurityNumber { get; set; }
|
|
|
|
public int CardTypeId { get; set; }
|
|
|
|
public string Buyer { get; set; }
|
|
|
|
[Required]
|
|
public Guid RequestId { get; set; }
|
|
}
|
|
}
|
|
|