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
681 B

2 years ago
  1. namespace EasyBL.WebApi.Message
  2. {
  3. public enum ResponseResult
  4. {
  5. RR_TRUE = 1,
  6. RR_FALSE = 0,
  7. RR_INVALID = -1
  8. }
  9. /// <summary>
  10. /// It focus on return message.
  11. /// </summary>
  12. public class ResponseMessage : MessageBase
  13. {
  14. public ResponseResult RESULT { get; set; }
  15. public int STATUSCODE { get; set; }
  16. public string MSG { get; set; }
  17. public ResponseMessage(MessageBase i_init = null)
  18. {
  19. if (null != i_init)
  20. {
  21. TYPE = i_init.TYPE;
  22. PROJECT = i_init.PROJECT;
  23. PROJECTVER = i_init.PROJECTVER;
  24. }
  25. }
  26. }
  27. }