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

namespace DapperORM.Common.Extention.DTO
{
    /// <summary>
    /// 自增属性
    /// </summary>
    public class AutoColumnAttribute : BaseColumnAttribute
    {

        /// <summary>
        /// 构造函数,默认True
        /// </summary>
        public AutoColumnAttribute()
        {
            this.IsAuto = true;
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="isAuto"></param>
        public AutoColumnAttribute(bool isAuto)
        {
            this.IsAuto = isAuto;
        }
    }
}
