EnvironResourceRelatedDto.cs 738 B

1234567891011121314151617181920212223242526
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.AutoMapper;
  3. using WePlatform.Configuration;
  4. namespace WePlatform.WeLib.Scene.Dto
  5. {
  6. [AutoMapTo(typeof(EnvironResourceRelatedInfo)),AutoMapFrom(typeof(EnvironResourceRelatedInfo))]
  7. public class EnvironResourceRelatedDto
  8. {
  9. /// <summary>
  10. /// 关联编码
  11. /// </summary>
  12. [MaxLength(IwbConsts.PrimaryKey)]
  13. public string RelatedNo { get; set; }
  14. /// <summary>
  15. /// 关联类型
  16. /// </summary>
  17. public int RelatedType { get; set; }
  18. /// <summary>
  19. /// 资源信息
  20. /// </summary>
  21. [MaxLength(IwbConsts.PrimaryKey)]
  22. public string EnvironResourceNo { get; set; }
  23. }
  24. }