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

namespace OpenAuth.App.FormScheme.Response
{
    public class FormDbTable
    {
        /// <summary>
        /// 数据库表名
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// (更新,查询)条件字段名
        /// </summary>
        public string Pkey { get; set; }
        /// <summary>
        /// 执行操作类型
        /// </summary>
        public ExecuteType ExecuteType { get; set; }
        /// <summary>
        /// 执行参数
        /// </summary>
        public List<SugarParameter> DbParameter { get; set; }
        /// <summary>
        /// 查询语句
        /// </summary>
        public string Sql { get; set; }
        /// <summary>
        /// 关联表
        /// </summary>
        public string RelationName { get; set; }
        /// <summary>
        /// 关联表字段
        /// </summary>
        public string RelationField { get; set; }
    }
}
