ExpressLogisticsDto.cs 752 B

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