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