CommonDto.cs 433 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using Abp.Runtime.Validation;
  8. namespace ShwasherSys.Dto
  9. {
  10. public class CommonDto<T>: ICustomValidate
  11. {
  12. public T Key { get; set; }
  13. public void AddValidationErrors(CustomValidationContext context)
  14. {
  15. }
  16. }
  17. }