remove newguid()

This commit is contained in:
milimoe 2023-11-19 14:52:28 +08:00 committed by GitHub
parent 9818fecc37
commit 3e5de6afca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,6 @@ namespace Milimoe.FunGame.Core.Entity
public class User : BaseEntity
{
public static readonly User Empty = new();
public override Guid Guid { get; set; } = Guid.NewGuid();
public override long Id { get; set; }
public string Username { get; set; } = "";
public DateTime RegTime { get; set; }