19 lines
461 B
C#
19 lines
461 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Yi.Framework.Model.Models
|
|
{
|
|
public class baseModel<T>
|
|
{
|
|
[Key]
|
|
[DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
|
|
public T id { get; set; }
|
|
public int is_delete { get; set; }
|
|
}
|
|
}
|