FixedAssetUpdateDto.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.Application.Services.Dto;
  3. using Abp.AutoMapper;
  4. namespace ShwasherSys.CompanyInfo.FixedAssetInfo.Dto
  5. {
  6. /// <summary>
  7. /// 设备固定资产维护
  8. /// </summary>
  9. [AutoMapTo(typeof(FixedAsset))]
  10. public class FixedAssetUpdateDto: EntityDto<int>
  11. {
  12. // /// <summary>
  13. // /// 资产编号
  14. // /// </summary>
  15. // [StringLength(FixedAsset.NoMaxLength)]
  16. //public string No { get; set; }
  17. /// <summary>
  18. /// 资产名称
  19. /// </summary>
  20. [StringLength(FixedAsset.NameMaxLength)]
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 资产类型
  24. /// </summary>
  25. [StringLength(FixedAsset.ModelMaxLength)]
  26. public string Model { get; set; }
  27. /// <summary>
  28. /// 资产描述
  29. /// </summary>
  30. [StringLength(FixedAsset.DescMaxLength)]
  31. public string Description { get; set; }
  32. }
  33. }