This commit is contained in:
Putoo
2026-06-01 18:49:17 +08:00
parent 8a5b6d31ca
commit eb81a1c381
50 changed files with 1367 additions and 59 deletions

View File

@@ -0,0 +1,69 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Log")]
public class game_mall_log
{
/// <summary>
/// logId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string logId { get; set; }
/// <summary>
/// mallId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? mallId { get; set; }
/// <summary>
/// type
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? type { get; set; }
/// <summary>
/// pars
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public Int32? pars { get; set; }
/// <summary>
/// count
/// </summary>
[SugarColumn(IsNullable = true)]
public int? count { get; set; }
/// <summary>
/// price
/// </summary>
[SugarColumn(IsNullable = true)]
public long? price { get; set; }
/// <summary>
/// payType
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? payType { get; set; }
/// <summary>
/// userId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? userId { get; set; }
/// <summary>
/// addTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? addTime { get; set; }
/// <summary>
/// endTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? endTime { get; set; }
}
}

View File

@@ -0,0 +1,63 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Log")]
public class unit_user_acc_log
{
/// <summary>
/// accId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 36)]
public string accId { get; set; }
/// <summary>
/// userId
/// </summary>
[SugarColumn(Length = 36, IsNullable = true)]
public string? userId { get; set; }
/// <summary>
/// accType
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? accType { get; set; }
/// <summary>
/// code
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? code { get; set; }
/// <summary>
/// name
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? name { get; set; }
/// <summary>
/// amount
/// </summary>
[SugarColumn(Length = 18, IsNullable = true)]
public decimal? amount { get; set; }
/// <summary>
/// addTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? addTime { get; set; }
/// <summary>
/// endTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? endTime { get; set; }
/// <summary>
/// remark
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? remark { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity;
[SplitTable(SplitType.Day)]
[SugarTable("unit_user_equ_log_{year}{month}{day}")]
[Tenant("Kg.SeaTime.Log")]
public class unit_user_equ_log
{
[SugarColumn(IsPrimaryKey = true)] public string logId { get; set; }
[SugarColumn(Length = 50, IsNullable = true)]
public string? ueId { get; set; }
public int? equId { get; set; }
[SugarColumn(Length = 50, IsNullable = true)]
public string? code { get; set; }
[SugarColumn(ColumnDataType = "longtext", IsNullable = true, IsJson = true)]
public unit_user_equ? equData { get; set; }
[SugarColumn(Length = 255, IsNullable = true)]
public string? remark { get; set; }
[SugarColumn(IsNullable = true)] public DateTime? addTime { get; set; }
}

View File

@@ -0,0 +1,27 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity;
[SplitTable(SplitType.Day)]
[SugarTable("unit_user_goods_log_{year}{month}{day}")]
[Tenant("Kg.SeaTime.Log")]
public class unit_user_goods_log
{
[SugarColumn(IsPrimaryKey = true)] public string logId { get; set; }
[SugarColumn(Length = 50, IsNullable = true)]
public string? userId { get; set; }
public int? goodsId { get; set; }
[SugarColumn(Length = 50, IsNullable = true)]
public string? code { get; set; }
public int? count { get; set; }
[SugarColumn(Length = 255, IsNullable = true)]
public string? remark { get; set; }
public DateTime? addTime { get; set; }
}

View File

@@ -0,0 +1,57 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Log")]
public class unit_user_weight_log
{
/// <summary>
/// logId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string logId { get; set; }
/// <summary>
/// userId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? userId { get; set; }
/// <summary>
/// goodsId
/// </summary>
[SugarColumn(IsNullable = true)]
public int? goodsId { get; set; }
/// <summary>
/// goodsName
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? goodsName { get; set; }
/// <summary>
/// weight
/// </summary>
[SugarColumn(IsNullable = true)]
public int? weight { get; set; }
/// <summary>
/// count
/// </summary>
[SugarColumn(IsNullable = true)]
public int? count { get; set; }
/// <summary>
/// sum
/// </summary>
[SugarColumn(IsNullable = true)]
public int? sum { get; set; }
/// <summary>
/// addTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? addTime { get; set; }
}
}