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.
 
 
 
 
 

19 lines
382 B

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace WebApp.Models.Hub
{
public class RoomInfo
{
[Key]
public string RoomName { get; set; }
//用户集合
public virtual List<UserInfo> Users { get; set; }
public RoomInfo()
{
Users = new List<UserInfo>();
}
}
}