DatasResponse.cs 501 B

123456789101112131415161718192021222324252627
  1. using MessagePack;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace HaBookCms.Response
  6. {
  7. [MessagePackObject(keyAsPropertyName: true)]
  8. public class DatasResponse<T> : BaseResponse
  9. {
  10. public IList<T> datas;
  11. public DatasResponse()
  12. {
  13. }
  14. public IList<T> getDatas()
  15. {
  16. return this.datas;
  17. }
  18. public void setDatas(IList<T> datas)
  19. {
  20. this.datas = datas;
  21. }
  22. }
  23. }