using SqlSugar;

namespace Waste.Domain
{
    /// <summary>
    /// 商户授权信息
    /// </summary>
    public class W_BusinessAppApi
    {
        /// <summary>
        /// 商户授权信息
        /// </summary>
        public W_BusinessAppApi()
        {
        }

        private System.Guid _Id;
        /// <summary>
        /// 商户的BusinessId
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.Guid Id { get { return this._Id; } set { this._Id = value; } }

        private System.String _PushUrl;
        /// <summary>
        /// 消息推送地址
        /// </summary>
        public System.String PushUrl { get { return this._PushUrl; } set { this._PushUrl = value?.Trim(); } }

        private System.String _IPList;
        /// <summary>
        /// IP白名单列表,为空则不限制
        /// </summary>
        public System.String IPList { get { return this._IPList; } set { this._IPList = value?.Trim(); } }

        private System.String _AppId;
        /// <summary>
        /// 
        /// </summary>
        public System.String AppId { get { return this._AppId; } set { this._AppId = value?.Trim(); } }

        private System.String _AppSecret;
        /// <summary>
        /// 
        /// </summary>
        public System.String AppSecret { get { return this._AppSecret; } set { this._AppSecret = value?.Trim(); } }

        private System.Int32 _Status;
        /// <summary>
        /// 状态,0-禁用,1-正常
        /// </summary>
        public System.Int32 Status { get { return this._Status; } set { this._Status = value; } }

        private System.DateTime _CreateTime;
        /// <summary>
        /// 添加时间
        /// </summary>
        public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } }
    }
}
