纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
616 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Runtime.Serialization;
  6. namespace ICSSoft.Entity
  7. {
  8. [DataContract]
  9. public class Result
  10. {
  11. public Result()
  12. {
  13. }
  14. public Result(bool success, string message, object data)
  15. {
  16. Success = success;
  17. Message = message;
  18. Data = data;
  19. }
  20. [DataMember]
  21. public bool Success { get; set; }
  22. [DataMember]
  23. public string Message { get; set; }
  24. [DataMember]
  25. public object Data { get; set; }
  26. }
  27. }