StandardCreateDto.cs 650 B

123456789101112131415161718192021
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. using ShwasherSys.ProductInfo;
  5. namespace ShwasherSys.ProductInfo.Dto
  6. {
  7. [AutoMapTo(typeof(Standard))]
  8. public class StandardCreateDto
  9. {
  10. [Required]
  11. [StringLength(Standard.StandardNameMaxLength)]
  12. public string StandardName { get; set; }
  13. [StringLength(Standard.StandardDescMaxLength)]
  14. public string StandardDesc { get; set; }
  15. public DateTime? TimeCreated { get; set; }
  16. public DateTime? TimeLastMod { get; set; }
  17. [StringLength(Standard.UserIDLastModMaxLength)]
  18. public string UserIDLastMod { get; set; }
  19. }
  20. }