ExpressLogisticsUpdateDto.cs 788 B

123456789101112131415161718192021222324252627
  1. using Abp.AutoMapper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using Abp.Application.Services.Dto;
  8. using System.ComponentModel.DataAnnotations;
  9. using AutoMapper;
  10. namespace ShwasherSys.BasicInfo.ExpressInfo.Dto
  11. {
  12. [AutoMapTo(typeof(ExpressLogistics))]
  13. public class ExpressLogisticsUpdateDto:EntityDto<int>
  14. {
  15. [Required]
  16. [StringLength(ExpressLogistics.ExpressNameMaxLength)]
  17. public string ExpressName { get; set; }
  18. [Required]
  19. [StringLength(ExpressLogistics.CodeMaxLength)]
  20. public string Code { get; set; }
  21. public int Sort { get; set; }
  22. [IgnoreMap]
  23. public List<ExpressProviderMapper> ExpressProviderMapper { get; set; }
  24. }
  25. }