DutyUpdateDto.cs 757 B

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