ExpressLogisticsCreateDto.cs 801 B

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