12121
This commit is contained in:
58
Service/Application.Domain.Entity/game/game/game_team.cs
Normal file
58
Service/Application.Domain.Entity/game/game/game_team.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Game")]
|
||||
public class game_team
|
||||
{
|
||||
/// <summary>
|
||||
/// teamId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string teamId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// areaId
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? areaId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// code
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// par
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? par { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// count
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? count { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// name
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 100, IsNullable = true)]
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// masterId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? masterId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// addTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public DateTime? addTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Game")]
|
||||
public class unit_user_team
|
||||
{
|
||||
/// <summary>
|
||||
/// userId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// teamId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? teamId { get; set; }
|
||||
}
|
||||
}
|
||||
27
Service/Application.Domain.Entity/model/RandomModel.cs
Normal file
27
Service/Application.Domain.Entity/model/RandomModel.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class RandomModel
|
||||
{
|
||||
public enum RandomCode
|
||||
{
|
||||
Weight,//权重模式
|
||||
Chance,//概率模式
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Weight权重模式 Chance概率模式
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
public string name { get; set; }
|
||||
public int empty { get; set; }
|
||||
public List<RandomData> data { get; set; }
|
||||
}
|
||||
|
||||
public class RandomData
|
||||
{
|
||||
public string code { get; set; }
|
||||
public string name { get; set; }
|
||||
public string par { get; set; }
|
||||
public long count { get; set; }
|
||||
public double chance { get; set; }
|
||||
}
|
||||
16
Service/Application.Domain.Entity/model/TeamModel.cs
Normal file
16
Service/Application.Domain.Entity/model/TeamModel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class TeamModel
|
||||
{
|
||||
public int state { get; set; }
|
||||
public string codeTips { get; set; }
|
||||
public game_team team { get; set; }
|
||||
public List<TeamUser> user { get; set; }
|
||||
}
|
||||
|
||||
public class TeamUser
|
||||
{
|
||||
public UserModel user { get; set; }
|
||||
public int isOnline { get; set; }
|
||||
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
public class UserModel
|
||||
{
|
||||
public string userId { get; set; }
|
||||
public string userNo { get; set; }
|
||||
public string nick { get; set; }
|
||||
public string sex { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user