DutyCreateDto.cs 703 B

123456789101112131415161718192021222324
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. using ShwasherSys.BasicInfo;
  5. namespace ShwasherSys.BasicInfo.Dutys.Dto
  6. {
  7. [AutoMapTo(typeof(Duty))]
  8. public class DutyCreateDto
  9. {
  10. [Required]
  11. [StringLength(Duty.DutyNameMaxLength)]
  12. public string DutyName { get; set; }
  13. [StringLength(Duty.RemarkMaxLength)]
  14. public string Remark { get; set; }
  15. public DateTime? TimeCreated { get; set; }
  16. public DateTime? TimeLastMod { get; set; }
  17. [StringLength(Duty.UserIDLastModMaxLength)]
  18. public string UserIDLastMod { get; set; }
  19. [StringLength(Duty.IsLockMaxLength)]
  20. public string IsLock { get; set; }
  21. }
  22. }