Files
number_zj/20220330_Vote/Vote.Services/Entities/userscore20250801.cs

56 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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();
}
}