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.

18 lines
382 B

2 years ago
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace WebApp.Models.Hub
  4. {
  5. public class RoomInfo
  6. {
  7. [Key]
  8. public string RoomName { get; set; }
  9. //用户集合
  10. public virtual List<UserInfo> Users { get; set; }
  11. public RoomInfo()
  12. {
  13. Users = new List<UserInfo>();
  14. }
  15. }
  16. }