EntityResult.cs 783 B

1234567891011121314151617181920212223242526
  1. //----------------------------------------------------------------
  2. //Module Name: TradeAccountResult
  3. //Purpose:
  4. //CopyRight: Muchinfo
  5. //History:
  6. //----------------------------------------------------------------
  7. //DateTime Author Description
  8. //----------------------------------------------------------------
  9. //2014-03-29 deng.yinping Create
  10. //----------------------------------------------------------------
  11. namespace Muchinfo.MTPClient.Data.Model.Account
  12. {
  13. public class EntityResult<T>
  14. {
  15. /// <summary>
  16. /// 返回实体
  17. /// </summary>
  18. public T Entity { get; set; }
  19. /// <summary>
  20. /// 返回码0:为成功,其它为失败
  21. /// </summary>
  22. public int ReturnCode { get; set; }
  23. }
  24. }