yavsc/src/Yavsc.Server/ViewModels/Manage/SetAddressViewModel.cs

17 lines
510 B
C#
Raw Normal View History

2017-05-05 23:37:07 +02:00
using System.ComponentModel.DataAnnotations;
2019-09-04 01:25:36 +01:00
using Yavsc.Attributes.Validation;
2017-05-05 23:37:07 +02:00
namespace Yavsc.ViewModels.Manage
{
public class SetAddressViewModel
{
2019-09-04 01:25:36 +01:00
[YaRequired]
2017-05-05 23:37:07 +02:00
public string Street1 { get; set; }
public string Street2 { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Country { get; set; }
2019-09-04 01:25:36 +01:00
[YaRequired]
2017-05-05 23:37:07 +02:00
public string PostalCode { get; set; }
}
}