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.

24 lines
591 B

4 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Common.Utility
  7. {
  8. public class DbResult
  9. {
  10. public string ErrorCode { get; set; }
  11. public string Msg { get; set; }
  12. public string Id { get; set; }
  13. public string Extra { get; set; }
  14. public string Extra2 { get; set; }
  15. public void SetError(string errorCode, string msg, string id)
  16. {
  17. ErrorCode = errorCode;
  18. Msg = msg;
  19. Id = id;
  20. }
  21. }
  22. }