This commit is contained in:
Putoo
2026-07-09 22:46:28 +08:00
parent 010ca90575
commit cfe6612a7a
33 changed files with 1355 additions and 39 deletions

View File

@@ -19,7 +19,7 @@ namespace Application.Domain.Entity
public string? userId { get; set; }
/// <summary>
/// areaCode
/// 作用区域
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? areaCode { get; set; }
@@ -43,17 +43,23 @@ namespace Application.Domain.Entity
public string? monsterName { 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>
/// state
/// </summary>
[SugarColumn(IsNullable = true)]
public int? state { get; set; }
/// <summary>
/// addTime
/// </summary>

View File

@@ -0,0 +1,52 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Game")]
public class unit_user_task
{
/// <summary>
/// utId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string utId { get; set; }
/// <summary>
/// userId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? userId { get; set; }
/// <summary>
/// taskId
/// </summary>
[SugarColumn(IsNullable = true)]
public int? taskId { get; set; }
/// <summary>
/// itemId
/// </summary>
[SugarColumn(IsNullable = true)]
public int? itemId { get; set; }
/// <summary>
/// name
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? name { get; set; }
/// <summary>
/// code
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? code { get; set; }
/// <summary>
/// endTime
/// </summary>
[SugarColumn(IsNullable = true)]
public long? endTime { get; set; }
}
}

View File

@@ -0,0 +1,39 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Game")]
public class unit_user_task_log
{
/// <summary>
/// utId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string utId { get; set; }
/// <summary>
/// userId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? userId { get; set; }
/// <summary>
/// taskId
/// </summary>
[SugarColumn(IsNullable = true)]
public int? taskId { get; set; }
/// <summary>
/// addTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? addTime { get; set; }
/// <summary>
/// endTime
/// </summary>
[SugarColumn(IsNullable = true)]
public long? endTime { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace Application.Domain.Entity;
public class GameNpcModel
{
public int npcId { get; set; }
public string name { get; set; }
public string tips { get; set; }
public int state { get; set; }
}

View File

@@ -0,0 +1,8 @@
namespace Application.Domain.Entity;
public class TaskNeedData:TowerNeed
{
public string areaCode { get; set; }
public string mapId { get; set; }
}

View File

@@ -0,0 +1,11 @@
namespace Application.Domain.Entity;
public class UserTaskModel
{
public string code { get; set; }
public int taskId { get; set; }
public int itemId { get; set; }
public string name { get; set; }
public int state { get; set; }
public CheckTowerNeed result { get; set; }
}

View File

@@ -0,0 +1,81 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Resource")]
public class game_task
{
/// <summary>
/// taskId
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public int taskId { get; set; }
/// <summary>
/// code
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? code { get; set; }
/// <summary>
/// name
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? name { get; set; }
/// <summary>
/// itemCount
/// </summary>
[SugarColumn(IsNullable = true)]
public int? itemCount { get; set; }
/// <summary>
/// count
/// </summary>
[SugarColumn(IsNullable = true)]
public int? count { get; set; }
/// <summary>
/// timeSpan
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? timeSpan { get; set; }
/// <summary>
/// sTime
/// </summary>
[SugarColumn(IsNullable = true)]
public int? sTime { get; set; }
/// <summary>
/// eTime
/// </summary>
[SugarColumn(IsNullable = true)]
public int? eTime { get; set; }
/// <summary>
/// lev
/// </summary>
[SugarColumn(IsNullable = true)]
public int? lev { get; set; }
/// <summary>
/// remark
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? remark { get; set; }
/// <summary>
/// 任务完成时间分钟 0不限制
/// </summary>
[SugarColumn(IsNullable = true)]
public int? time { get; set; }
/// <summary>
/// status
/// </summary>
[SugarColumn(IsNullable = true)]
public int? status { get; set; }
}
}

View File

@@ -0,0 +1,99 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Resource")]
public class game_task_item
{
/// <summary>
/// tiId
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public int tiId { get; set; }
/// <summary>
/// taskId
/// </summary>
[SugarColumn(IsNullable = true)]
public int? taskId { get; set; }
/// <summary>
/// name
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? name { get; set; }
/// <summary>
/// 主线、支线
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? code { get; set; }
/// <summary>
/// inType
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? inType { get; set; }
/// <summary>
/// 普通,答题
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? itemCode { get; set; }
/// <summary>
/// 0起始环 1任务环 2结束环
/// </summary>
[SugarColumn(IsNullable = true)]
public int? itemType { get; set; }
/// <summary>
/// npcId
/// </summary>
[SugarColumn(IsNullable = true)]
public int? npcId { get; set; }
/// <summary>
/// needData
/// </summary>
[SugarColumn(IsNullable = true,IsJson = true)]
public List<TaskNeedData> needData { get; set; }
/// <summary>
/// 环说明
/// </summary>
[SugarColumn(IsNullable = true)]
public string? taskTips { get; set; }
/// <summary>
/// nextTips
/// </summary>
[SugarColumn(IsNullable = true)]
public string? nextTips { get; set; }
/// <summary>
/// 按钮提示
/// </summary>
[SugarColumn(IsNullable = true)]
public string? btnTips { get; set; }
/// <summary>
/// award
/// </summary>
[SugarColumn(IsNullable = true)]
public string? award { get; set; }
/// <summary>
/// 任务时长
/// </summary>
[SugarColumn(IsNullable = true)]
public int? time { get; set; }
/// <summary>
/// 等级
/// </summary>
[SugarColumn(IsNullable = true)]
public int? lev { get; set; }
}
}