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/labs/Teacher/Infrastructure/Domain/EntityBase.cs

17 lines
361 B

using System;
using System.ComponentModel.DataAnnotations;
namespace Infrastructure.Domain
{
public class EntityBase<TKey>
{
[Required]
public TKey Id { get; set; }
public string IsDeleted { get; set; }
public override string ToString()
{
return $"{ GetType().FullName}[{Id}]";
}
}
}