This commit is contained in:
Putoo
2026-05-25 18:41:27 +08:00
parent 590f7c5290
commit 0afbf6e39a
32 changed files with 2137 additions and 101 deletions

View File

@@ -63,8 +63,8 @@ namespace Application.Domain.Entity
/// <summary>
/// qualityAttr
/// </summary>
[SugarColumn(Length = 2000, IsNullable = true)]
public string? qualityAttr { get; set; }
[SugarColumn( IsNullable = true,IsJson = true)]
public List<AttrItem>? qualityAttr { get; set; }
/// <summary>
/// sex
@@ -172,7 +172,7 @@ namespace Application.Domain.Entity
/// useEndTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? useEndTime { get; set; }
public long? useEndTime { get; set; }
/// <summary>
/// weight
@@ -189,8 +189,8 @@ namespace Application.Domain.Entity
/// <summary>
/// sysPrice
/// </summary>
[SugarColumn(Length = 10, IsNullable = true)]
public decimal? sysPrice { get; set; }
[SugarColumn(IsNullable = true)]
public int? sysPrice { get; set; }
/// <summary>
/// canEqualUp
@@ -199,28 +199,28 @@ namespace Application.Domain.Entity
public int? canEqualUp { get; set; }
/// <summary>
/// EquAttr
/// 装备属性
/// </summary>
[SugarColumn(IsNullable = true)]
public string? EquAttr { get; set; }
[SugarColumn(IsNullable = true,IsJson = true)]
public List<AttrItem>? EquAttr { get; set; }
/// <summary>
/// EquMent
/// 附魔属性
/// </summary>
[SugarColumn(IsNullable = true)]
public string? EquMent { get; set; }
[SugarColumn(IsNullable = true,IsJson = true)]
public EquMent? EquMent { get; set; }
/// <summary>
/// EquAwaken
/// 觉醒属性
/// </summary>
[SugarColumn(IsNullable = true)]
public string? EquAwaken { get; set; }
[SugarColumn(IsNullable = true,IsJson = true)]
public List<EquAwaken>? EquAwaken { get; set; }
/// <summary>
/// GemMent
/// 宝石属性
/// </summary>
[SugarColumn(IsNullable = true)]
public string? GemMent { get; set; }
[SugarColumn(IsNullable = true,IsJson = true)]
public List<EquGem>? GemMent { get; set; }
/// <summary>
/// isDeal
@@ -235,33 +235,21 @@ namespace Application.Domain.Entity
public int? isGive { get; set; }
/// <summary>
/// score
/// </summary>
[SugarColumn(IsNullable = true)]
public int? score { get; set; }
/// <summary>
/// start
/// 星级
/// </summary>
[SugarColumn(IsNullable = true)]
public int? start { get; set; }
/// <summary>
/// exp
/// 0不需要鉴定 1需要鉴定
/// </summary>
[SugarColumn(IsNullable = true)]
public int? exp { get; set; }
public int? isAppr { get; set; }
/// <summary>
/// startAttr
/// 是否穿戴
/// </summary>
[SugarColumn(IsNullable = true)]
public string? startAttr { get; set; }
/// <summary>
/// swallow
/// </summary>
[SugarColumn(IsNullable = true)]
public string? swallow { get; set; }
public int? isOn { get; set; }
}
}

View File

@@ -45,8 +45,8 @@ namespace Application.Domain.Entity
/// <summary>
/// count
/// </summary>
[SugarColumn(Length = 65, IsNullable = true)]
public decimal? count { get; set; }
[SugarColumn(IsNullable = true)]
public long? count { get; set; }
/// <summary>
/// weight
@@ -57,8 +57,8 @@ namespace Application.Domain.Entity
/// <summary>
/// sysPrice
/// </summary>
[SugarColumn(Length = 18, IsNullable = true)]
public decimal? sysPrice { get; set; }
[SugarColumn(IsNullable = true)]
public int? sysPrice { get; set; }
/// <summary>
/// 0不可交易1可交易
@@ -72,4 +72,4 @@ namespace Application.Domain.Entity
[SugarColumn(IsNullable = true)]
public int? isGive { get; set; }
}
}
}

View File

@@ -0,0 +1,36 @@
namespace Application.Domain.Entity;
public class AttrItem
{
private System.String _code;
/// <summary>
///
/// </summary>
public System.String code
{ get { return this._code; } set { this._code = value; } }
private System.String _compute;
/// <summary>
///
/// </summary>
public System.String compute
{ get { return this._compute; } set { this._compute = value; } }
private System.Decimal _parameter;
/// <summary>
///
/// </summary>
public System.Decimal parameter
{ get { return this._parameter; } set { this._parameter = value; } }
private System.String _tip;
/// <summary>
///
/// </summary>
public System.String tip
{ get { return this._tip; } set { this._tip = value; } }
}

View File

@@ -0,0 +1,37 @@
namespace Application.Domain.Entity;
public class EquAwaken
{
private System.String _atId;
/// <summary>
///
/// </summary>
public System.String atId
{ get { return this._atId; } set { this._atId = value; } }
private System.Int32 _lev;
/// <summary>
///
/// </summary>
public System.Int32 lev
{ get { return this._lev; } set { this._lev = value; } }
private System.String _name;
/// <summary>
///
/// </summary>
public System.String name
{ get { return this._name; } set { this._name = value; } }
private List<AttrItem> _awaken;
/// <summary>
///
/// </summary>
[SqlSugar.SugarColumn(ColumnDataType = "varchar(max)", IsJson = true)]
public List<AttrItem> awaken
{ get { return this._awaken; } set { this._awaken = value; } }
}

View File

@@ -0,0 +1,50 @@
namespace Application.Domain.Entity;
public class EquGem
{
private System.String _Id;
/// <summary>
///
/// </summary>
public System.String Id
{ get { return this._Id; } set { this._Id = value; } }
private System.Int32 _goodsId;
/// <summary>
///
/// </summary>
public System.Int32 goodsId
{ get { return this._goodsId; } set { this._goodsId = value; } }
private System.String _goodsName;
/// <summary>
///
/// </summary>
public System.String goodsName
{ get { return this._goodsName; } set { this._goodsName = value; } }
private System.Int32? _isDeal;
/// <summary>
///
/// </summary>
public System.Int32? isDeal
{ get { return this._isDeal; } set { this._isDeal = value; } }
public EquGemItem gemItem { get; set; }
}
public class EquGemItem
{
private System.String _place;
/// <summary>
///
/// </summary>
public System.String place
{ get { return this._place; } set { this._place = value; } }
public List<AttrItem> GemAttr { get; set; }
}

View File

@@ -0,0 +1,45 @@
namespace Application.Domain.Entity;
public class EquMent
{
private System.String _name;
/// <summary>
///
/// </summary>
public System.String name
{ get { return this._name; } set { this._name = value; } }
private System.Int32 _goodsId;
/// <summary>
///
/// </summary>
public System.Int32 goodsId
{ get { return this._goodsId; } set { this._goodsId = value; } }
private System.Int32? _isDeal;
/// <summary>
///
/// </summary>
public System.Int32? isDeal
{ get { return this._isDeal; } set { this._isDeal = value; } }
private System.Int32? _isGive;
/// <summary>
///
/// </summary>
public System.Int32? isGive
{ get { return this._isGive; } set { this._isGive = value; } }
private List<AttrItem> _EquAttr;
/// <summary>
///
/// </summary>
[SqlSugar.SugarColumn(ColumnDataType = "varchar(max)", IsJson = true)]
public List<AttrItem> EquAttr
{ get { return this._EquAttr; } set { this._EquAttr = value; } }
}

View File

@@ -0,0 +1,171 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Resource")]
public class game_equ
{
/// <summary>
/// equId
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public int equId { get; set; }
/// <summary>
/// equName
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? equName { get; set; }
/// <summary>
/// lev
/// </summary>
[SugarColumn(IsNullable = true)]
public int? lev { get; set; }
/// <summary>
/// quality
/// </summary>
[SugarColumn(IsNullable = true)]
public int? quality { get; set; }
/// <summary>
/// code
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? code { get; set; }
/// <summary>
/// sex
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? sex { get; set; }
/// <summary>
/// img
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? img { get; set; }
/// <summary>
/// minAtk
/// </summary>
[SugarColumn(IsNullable = true)]
public int? minAtk { get; set; }
/// <summary>
/// maxAtk
/// </summary>
[SugarColumn(IsNullable = true)]
public int? maxAtk { get; set; }
/// <summary>
/// defense
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? defense { get; set; }
/// <summary>
/// agility
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? agility { get; set; }
/// <summary>
/// blood
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? blood { get; set; }
/// <summary>
/// morale
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? morale { get; set; }
/// <summary>
/// 0非套装
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? suitCode { get; set; }
/// <summary>
/// durability
/// </summary>
[SugarColumn(IsNullable = true)]
public int? durability { get; set; }
/// <summary>
/// 是否可强化
/// </summary>
[SugarColumn(IsNullable = true)]
public int? isIntensify { get; set; }
/// <summary>
/// holeCount
/// </summary>
[SugarColumn(IsNullable = true)]
public int? holeCount { get; set; }
/// <summary>
/// 0永久 其他为小时
/// </summary>
[SugarColumn(IsNullable = true)]
public int? useTime { get; set; }
/// <summary>
/// weight
/// </summary>
[SugarColumn(IsNullable = true)]
public int? weight { get; set; }
/// <summary>
/// remark
/// </summary>
[SugarColumn(IsNullable = true)]
public string? remark { get; set; }
/// <summary>
/// source
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? source { get; set; }
/// <summary>
/// sysPrice
/// </summary>
[SugarColumn(IsNullable = true)]
public int? sysPrice { get; set; }
/// <summary>
/// equAttr
/// </summary>
[SugarColumn(IsNullable = true,IsJson = true)]
public List<AttrItem>? equAttr { get; set; }
/// <summary>
/// 可穿戴数量
/// </summary>
[SugarColumn(IsNullable = true)]
public int? canEqualUp { get; set; }
/// <summary>
/// 0不可交易1可交易
/// </summary>
[SugarColumn(IsNullable = true)]
public int? isDeal { get; set; }
/// <summary>
/// 0不可赠送 1可赠送
/// </summary>
[SugarColumn(IsNullable = true)]
public int? isGive { get; set; }
/// <summary>
/// 0不需要鉴定 1需要鉴定
/// </summary>
[SugarColumn(IsNullable = true)]
public int? isAppr { get; set; }
}
}

View File

@@ -58,7 +58,7 @@ namespace Application.Domain.Entity
/// sysPrice
/// </summary>
[SugarColumn(Length = 18, IsNullable = true)]
public decimal? sysPrice { get; set; }
public int? sysPrice { get; set; }
/// <summary>
/// content