11 lines
No EOL
378 B
C#
11 lines
No EOL
378 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Wonky.Entity.DTO;
|
|
|
|
public class WebShopOrderDto
|
|
{
|
|
[MaxLength(20)] public string ReferenceNumber { get; set; } = "";
|
|
[MaxLength(255)] public string OrderNote { get; set; } = "";
|
|
[Required] public bool ConditionsAccepted { get; set; }
|
|
[Required] public List<WebShopLineDto> Lines { get; set; } = new();
|
|
} |