StatementBillDto.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using Abp.AutoMapper;
  4. using Abp.Application.Services.Dto;
  5. using AutoMapper;
  6. namespace ShwasherSys.Invoice.Dto
  7. {
  8. [AutoMapTo(typeof(StatementBill)),AutoMapFrom(typeof(StatementBill))]
  9. public class StatementBillDto: EntityDto<int>
  10. {
  11. public string StatementBillNo { get; set; }
  12. public string CustomerId { get; set; }
  13. public string BillMan { get; set; }
  14. public string Description { get; set; }
  15. public int? StatementState { get; set; }
  16. public string OrderStickBillNo { get; set; }
  17. public string CustomerName { get; set; }
  18. public DateTime CreationTime { get; set; }
  19. }
  20. public class QueryStatementBillReportDto
  21. {
  22. public int Year { get; set; }
  23. public int? Month { get; set; }
  24. public string CustomerId { get; set; }
  25. }
  26. [AutoMapTo(typeof(OrderStickBill))]
  27. public class StatementBillUpdateDescDto : EntityDto<int>
  28. {
  29. [StringLength(OrderStickBill.DescriptionMaxLength)]
  30. public string Description { get; set; }
  31. }
  32. }