renable weapon name in anticheat snapshot list
update migrations for unique index fix missing total connection time include total connection time in get client query
This commit is contained in:
@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace SharedLibraryCore.Database.Models
|
||||
{
|
||||
public partial class EFAlias
|
||||
public partial class EFAlias : SharedEntity
|
||||
{
|
||||
[Key]
|
||||
public int AliasId { get; set; }
|
||||
|
@ -1,13 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace SharedLibraryCore.Database.Models
|
||||
{
|
||||
public class SharedEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// indicates if the entity is active
|
||||
/// </summary>
|
||||
public bool Active { get; set; } = true;
|
||||
|
||||
///// <summary>
|
||||
///// Specifies when the entity was created
|
||||
///// </summary>
|
||||
//[Column(TypeName="datetime")]
|
||||
//public DateTime CreatedDateTime { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// Specifies when the entity was updated
|
||||
///// </summary>
|
||||
//[Column(TypeName = "datetime")]
|
||||
//public DateTime? UpdatedDateTime { get;set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user