base_vpn.cs 1.3 KB
using System;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
    /// <summary>
    /// OPENVPN信息
    /// </summary>
    [SugarTable("base_vpn")]
    public partial class base_vpn:base_entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// key
        /// </summary>
        [SugarColumn(ColumnDescription = "key", IsNullable = false)]
        public Guid vpnKey { get; set; }

        /// <summary>
        /// VPN账号
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "VPN账号", IsNullable = false)]
        public string vpnNumber { get; set; }

        /// <summary>
        /// VPN-IP
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "VPN-IP", IsNullable = true)]
        public string vpnIP { get; set; }

        /// <summary>
        /// 虚拟IP
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "虚拟IP", IsNullable = true)]
        public string virtualIP { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(Length = 2000, ColumnDescription = "备注", IsNullable = true)]
        public string vpnRemark { get; set; }
    }
}