ShortMsgDetailCreateDto.cs 529 B

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