38 lines
734 B
C#
38 lines
734 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Model
|
|
{
|
|
public class Address
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public string? Street { get; set; }
|
|
|
|
[Required]
|
|
public string? City { get; set; }
|
|
|
|
public string? State { get; set; }
|
|
[Required]
|
|
public string? PostalCode { get; set; }
|
|
[Required]
|
|
public string? Country { get; set; }
|
|
|
|
public string? CVR { get; set; }
|
|
|
|
[Required]
|
|
public string? Email { get; set; }
|
|
[Required]
|
|
public string? Mobile { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|