微信登录

Model - Result.cs - 战绩表列名映射

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace GameServer.Model
  7. {
  8. class Result
  9. {
  10. public Result(int id, int userId,int totalCount,int winCount)
  11. {
  12. this.Id = id;
  13. this.UserId = userId;
  14. this.TotalCount = totalCount;
  15. this.WinCount = winCount;
  16. }
  17. public int Id { get; set; }
  18. public int UserId { get; set; }
  19. public int TotalCount { get; set; }
  20. public int WinCount { get; set; }
  21. }
  22. }
Model - Result.cs - 战绩表列名映射