mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-29 22:29:24 +02:00
Update Models
This commit is contained in:
parent
0dad0d1a04
commit
c36204dbb9
27 changed files with 509 additions and 5 deletions
22
Application/Models/LastKnownTraffic.cs
Normal file
22
Application/Models/LastKnownTraffic.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
using SQLite;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MTWireGuard.Application.Models
|
||||
{
|
||||
public class LastKnownTraffic
|
||||
{
|
||||
[Key]
|
||||
public int UserID { get; set; }
|
||||
[DefaultValue(0)]
|
||||
public int RX { get; set; }
|
||||
[DefaultValue(0)]
|
||||
public int TX { get; set; }
|
||||
public DateTime CreationTime { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue