namespace Admin.NET.Plugin.AiDOP.Dto; public class OrderCreateDto { public string CustomerName { get; set; } = string.Empty; public string Product { get; set; } = string.Empty; public int Quantity { get; set; } public decimal UnitPrice { get; set; } public DateTime? DeliveryDate { get; set; } public string? Remark { get; set; } } public class OrderUpdateDto : OrderCreateDto { public string Status { get; set; } = string.Empty; } public class OrderDetailDto { public long Id { get; set; } public string OrderNo { get; set; } = string.Empty; public string CustomerName { get; set; } = string.Empty; public string Product { get; set; } = string.Empty; public int Quantity { get; set; } public decimal UnitPrice { get; set; } public decimal Amount { get; set; } public string Status { get; set; } = string.Empty; public DateTime? DeliveryDate { get; set; } public string? Remark { get; set; } public DateTime CreatedTime { get; set; } public DateTime? UpdatedTime { get; set; } public string? CreatedBy { get; set; } } public class OrderQueryDto { public string? OrderNo { get; set; } public string? CustomerName { get; set; } public string? Status { get; set; } public DateTime? StartDate { get; set; } public DateTime? EndDate { get; set; } public int Page { get; set; } = 1; public int PageSize { get; set; } = 10; }