using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.SQLModel
{
    public class BaseEntity
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [SugarColumn(ColumnName = "id", ColumnDescription = "主键Id", IsPrimaryKey = true, CreateTableFieldSort = 0)]
        public virtual long Id { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        [SugarColumn(ColumnName = "IsDel", ColumnDescription = "删除状态（0、未删除；1、已删除）", ColumnDataType = "tinyint", DefaultValue = "0", CreateTableFieldSort = 106)]
        public virtual byte IsDel { get; set; }

        [SugarColumn(ColumnName = "CollectTime")]
        public DateTime CollectTime { get; set; }
    }
}
