ProductMapperDto.cs 757 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. namespace ShwasherSys.ProductInfo.Dto
  5. {
  6. [AutoMapTo(typeof(ProductMapper)),AutoMapFrom(typeof(ProductMapper))]
  7. public class ProductMapperDto: EntityDto<int>
  8. {
  9. /// <summary>
  10. /// 新产品编码
  11. /// </summary>
  12. public string ProductNo { get; set; }
  13. /// <summary>
  14. /// 旧产品编码
  15. /// </summary>
  16. public string PreProductNo { get; set; }
  17. /// <summary>
  18. /// 老产品是成品1/半成品2
  19. /// </summary>
  20. public int PreProductType { get; set; }
  21. /// <summary>
  22. /// 新产品是成品1/半成品2
  23. /// </summary>
  24. public int NewProductType { get; set; }
  25. }
  26. }