ShortMsgDetailUpdateDto.cs 580 B

1234567891011121314151617181920
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. using ShwasherSys.NotificationInfo;
  6. namespace ShwasherSys.NotificationInfo.Dto
  7. {
  8. [AutoMapTo(typeof(ShortMsgDetail))]
  9. public class ShortMsgDetailUpdateDto: EntityDto<int>
  10. {
  11. public int MsgID { get; set; }
  12. [Required]
  13. [StringLength(ShortMsgDetail.RecvUserIDMaxLength)]
  14. public string RecvUserID { get; set; }
  15. [Required]
  16. [StringLength(ShortMsgDetail.IsReadMaxLength)]
  17. public string IsRead { get; set; }
  18. }
  19. }