提交功能
This commit is contained in:
38
Db/Tables/DeviceTable.cs
Normal file
38
Db/Tables/DeviceTable.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace ACBuildService;
|
||||
|
||||
[SugarTable("device")]
|
||||
public class DeviceTable
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备id
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 观看视频
|
||||
/// </summary>
|
||||
public int WatchId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备名字
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总观看时长
|
||||
/// </summary>
|
||||
public long TotalTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 今日观看时长
|
||||
/// </summary>
|
||||
public long TodayTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后更新时间,用于判定今日时长和跨天
|
||||
/// </summary>
|
||||
public DateTime LastTime { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user