OrderStickBillUpdateDto.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. using ShwasherSys.Invoice;
  6. namespace ShwasherSys.Invoice.Dto
  7. {
  8. [AutoMapTo(typeof(OrderStickBill))]
  9. public class OrderStickBillUpdateDto: EntityDto<string>
  10. {
  11. [Required]
  12. [StringLength(OrderStickBill.CustomerIdMaxLength)]
  13. public string CustomerId { get; set; }
  14. public DateTime? CreatDate { get; set; }
  15. [StringLength(OrderStickBill.StickNumMaxLength)]
  16. public string StickNum { get; set; }
  17. [StringLength(OrderStickBill.StickManMaxLength)]
  18. public string StickMan { get; set; }
  19. [StringLength(OrderStickBill.DescriptionMaxLength)]
  20. public string Description { get; set; }
  21. public DateTime? TimeCreated { get; set; }
  22. public DateTime? TimeLastMod { get; set; }
  23. [StringLength(OrderStickBill.UserIDLastModMaxLength)]
  24. public string UserIDLastMod { get; set; }
  25. //开票状态(1:未开票 2:已开票)
  26. public int? InvoiceState { get; set; }
  27. //金额
  28. public decimal? Amount { get; set; }
  29. }
  30. }