using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;

namespace Hncore.Pass.Vpn.Domain
{
    public partial class ProductEntity : EntityWithDelete<int>, ITenant
    {      
        public int TenantId { get; set; }       
        public string Name { get; set; }
        public string Image { get; set; }
        public int Sort { get; set; } = 0;
        public string Account { get; set; }      
        public string Pwd { get; set; }
        public string BaseUrl { get; set; }
        public int? Status { get; set; } = 0;
        public string LoginUrl { get; set; }
        public string LoginCodeUrl { get; set; }
        public string RefrushTokenUrl { get; set; }
        public string PcClientDownloadUrl { get; set; }
        public string DroidDownloadUrl { get; set; }
        public string IosDownloadUrl { get; set; }
        public string SimulatorDownloadUrl { get; set; }
        public string Content { get; set; }
        public string Profile { get; set; }
        public string GroupNO { get; set; }
        public string Token { get; set; }

        public int? AutoRefund { get; set; } = 0;

        public decimal? RefundDayPrice { get; set; } = 0;
        public decimal? DayLimitPrice { get; set; } = 0;

        public int OnLine { get; set; } = 1;

        public string L2TPPwd { get; set; } = "";

        public string SSTPPort { get; set; } = "";
        /// <summary>
        /// 记录添加(创建)时间
        /// </summary>
        public virtual DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 记录最后更新时间
        /// </summary>
        public virtual DateTime UpdateTime { get; set; } = DateTime.Now;

    }
}
