NoticeMapping.cs 480 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using AutoMapper;
  5. using GxPress.Entity;
  6. using GxPress.Result.AddressBookGroupUser;
  7. using GxPress.Result.Notice;
  8. namespace GxPress.Mappings
  9. {
  10. public class NoticeMapping : Profile
  11. {
  12. public NoticeMapping()
  13. {
  14. CreateMap<Notice, NoticeDetailResult>();
  15. CreateMap<Notice, NoticeListPageResult>();
  16. CreateMap<Notice, NoticeEditDetailResult>();
  17. }
  18. }
  19. }