StandardUpdateDto.cs 511 B

12345678910111213141516171819
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. using ShwasherSys.ProductInfo;
  6. namespace ShwasherSys.ProductInfo.Dto
  7. {
  8. [AutoMapTo(typeof(Standard))]
  9. public class StandardUpdateDto: EntityDto<int>
  10. {
  11. [Required]
  12. [StringLength(Standard.StandardNameMaxLength)]
  13. public string StandardName { get; set; }
  14. [StringLength(Standard.StandardDescMaxLength)]
  15. public string StandardDesc { get; set; }
  16. }
  17. }