25 lines
565 B
C#
25 lines
565 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TTSW.EF
|
|
{
|
|
public class BaseEntity2<T>: IBaseEntity2<T>
|
|
{
|
|
public BaseEntity2()
|
|
{
|
|
|
|
}
|
|
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public T id { get; set; }
|
|
|
|
public DateTime created { get; set; }
|
|
public DateTime updated { get; set; }
|
|
public bool isActive { get; set; }
|
|
}
|
|
}
|