微信登录

Model - User.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 User
  9. {
  10. public User(int id,string username,string password)
  11. {
  12. this.Id = id;
  13. this.Username = username;
  14. this.Password = password;
  15. }
  16. public int Id { get; set; }
  17. public string Username { get; set; }
  18. public string Password { get; set; }
  19. }
  20. }