56 lines
1.1 KiB
C#
56 lines
1.1 KiB
C#
using System;
|
||
using System.ComponentModel;
|
||
using Ewide.Core;
|
||
using SqlSugar;
|
||
|
||
namespace Vote.Services.Entities;
|
||
|
||
[SqlSugar.SugarTable]
|
||
[Serializable]
|
||
public class userscores20250801 : DEntityBase
|
||
{
|
||
public userscores20250801()
|
||
{
|
||
this.No = 0;
|
||
this.Title = "";
|
||
this.Postion = "";
|
||
this.Name = "";
|
||
this.finalscore = 0;
|
||
}
|
||
|
||
/// <summary>
|
||
///
|
||
/// </summary>
|
||
[Description("")]
|
||
public int? No { get; set; }
|
||
|
||
/// <summary>
|
||
///
|
||
/// </summary>
|
||
[Description("")]
|
||
public string Title { get; set; }
|
||
|
||
/// <summary>
|
||
///
|
||
/// </summary>
|
||
[Description("")]
|
||
public string Postion { get; set; }
|
||
|
||
/// <summary>
|
||
///
|
||
/// </summary>
|
||
[Description("")]
|
||
public string Name { get; set; }
|
||
|
||
public string scoresjson { get; set; }
|
||
public decimal? finalscore { get; set; }
|
||
|
||
/// <summary>
|
||
/// 创建默认的主键值
|
||
/// <para>当构造函数执行时如果Id为空,则会自动执行该函数</para>
|
||
/// </summary>
|
||
public void GenerateDefaultKeyVal()
|
||
{
|
||
Id = Ulid.NewUlid().ToString(); // Guid.NewGuid().ToString();
|
||
}
|
||
} |