You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Infrastructure/Domain/BaseEntity.cs

20 lines
383 B

using System;
namespace Infrastructure.Domain
{
public abstract class BaseEntity
{
public BaseEntity()
{
this.Id = Guid.NewGuid();
}
public Guid Id { get; set; }
public string IsDeleted { get; set; }
public override string ToString()
{
return $"{ GetType().FullName}[{Id}]";
}
}
}