mirror of
https://gitee.com/xiarenalofs/squad-rain-ops-mini.git
synced 2026-08-12 07:35:38 +08:00
Initial commit: add RainOpsMini project and documentation
This commit is contained in:
16
Models/UserIntegral.cs
Normal file
16
Models/UserIntegral.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using SqlSugar;
|
||||
|
||||
namespace RainOpsMini.Models
|
||||
{
|
||||
[SugarTable("UserIntegrals")]
|
||||
public class UserIntegral
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public string SteamId { get; set; } = null!;
|
||||
|
||||
public int Points { get; set; } = 0;
|
||||
|
||||
public DateTime LastUpdated { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user