using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Model.Entities
{
    public class RootEntityTkey<Tkey> where Tkey : IEquatable<Tkey>
    {
        /// <summary>
        /// ID
        /// 泛型主键Tkey
        /// </summary>
        //[SugarColumn(IsNullable = false, IsPrimaryKey = true)]
        [Key]
        public Tkey Id { get; set; }
    }
}