8 changed files with 93 additions and 29 deletions
@ -1,6 +1,6 @@
|
||||
namespace AX.WebDrillServer.Services.FireDeductionHub |
||||
{ |
||||
public class RoomCreateDto |
||||
public class RoomCreateData |
||||
{ |
||||
public string UserId { get; set; } = null!; |
||||
public string? Password { get; set; } |
@ -0,0 +1,25 @@
|
||||
namespace AX.WebDrillServer.Services.FireDeductionHub |
||||
{ |
||||
/// <summary> |
||||
/// 给定的房间信息 |
||||
/// </summary> |
||||
public class RoomShowInfo |
||||
{ |
||||
public string RoomId { get; set; } = null!; |
||||
public string RoomName { get; set; } = null!; |
||||
public RoomState State { get; set; } = RoomState.Ready; |
||||
/// <summary> |
||||
/// 房间最大人数 |
||||
/// </summary> |
||||
public int MaxPersons = 100; |
||||
/// <summary> |
||||
/// 房间所属,默认是创建者 |
||||
/// </summary> |
||||
public string Owner { get; set; } = null!; |
||||
public string OwnerName { get; set; } = null!; |
||||
/// <summary> |
||||
/// 是否有密码 |
||||
/// </summary> |
||||
public bool IsLock { get; set; } |
||||
} |
||||
} |
Loading…
Reference in new issue