using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace IStation.Entity { /// /// 基础实体 /// public class BaseEntity { /// /// /// public BaseEntity() { } /// /// /// public BaseEntity(BaseEntity rhs) { this.ID = rhs.ID; } /// /// 自增标识 /// [SugarColumn(IsPrimaryKey = true)] public virtual long ID { get { return _id; } set { _id = value; } } private long _id; } }