忽略dll文件git
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class CodeResponse
|
||||
{
|
||||
public string CodeImage { get; set; }
|
||||
public string Key { get; set; }
|
||||
}
|
||||
}
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class CodeResponse
|
||||
{
|
||||
public string CodeImage { get; set; }
|
||||
public string Key { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class PackageInfoResponse
|
||||
{
|
||||
public ProductPackageEntity Package { get; set; }
|
||||
|
||||
public ProductUserPriceEntity UserPrice { get; set; }
|
||||
|
||||
public ProductEntity Product { get; set; }
|
||||
|
||||
public int RestTimes { get; set; }
|
||||
}
|
||||
}
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class PackageInfoResponse
|
||||
{
|
||||
public ProductPackageEntity Package { get; set; }
|
||||
|
||||
public ProductUserPriceEntity UserPrice { get; set; }
|
||||
|
||||
public ProductEntity Product { get; set; }
|
||||
|
||||
public int RestTimes { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
using Hncore.Infrastructure.Tree;
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class PackageUserPriceResponse
|
||||
{
|
||||
public ProductPackageEntity Package { get; set; }
|
||||
|
||||
public ProductUserPriceEntity UserPrice { get; set; }
|
||||
}
|
||||
|
||||
public class ProductWithPackageUserPriceResponse
|
||||
{
|
||||
public ProductResponse Product { get; set; }
|
||||
public List<PackageUserPriceResponse> PackageUserPrices { get; set; }
|
||||
}
|
||||
}
|
||||
using Hncore.Infrastructure.Tree;
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class PackageUserPriceResponse
|
||||
{
|
||||
public ProductPackageEntity Package { get; set; }
|
||||
|
||||
public ProductUserPriceEntity UserPrice { get; set; }
|
||||
}
|
||||
|
||||
public class ProductWithPackageUserPriceResponse
|
||||
{
|
||||
public ProductResponse Product { get; set; }
|
||||
public List<PackageUserPriceResponse> PackageUserPrices { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
using Hncore.Infrastructure.Tree;
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Hncore.Infrastructure.Extension;
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class ProductResponse
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Image { get; set; }
|
||||
public int Sort { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string Profile { get; set; }
|
||||
public int TenantId { get; set; }
|
||||
|
||||
public int OnLine { get; set; } = 1;
|
||||
|
||||
public List<string> ContentLine=> this.Profile.Has()?this.Profile.Split('\n').ToList():new List<string>();
|
||||
|
||||
}
|
||||
|
||||
public class ProductWithPackageResponse
|
||||
{
|
||||
public ProductResponse Product { get; set; }
|
||||
public List<ProductPackageEntity> Packages { get; set; }
|
||||
}
|
||||
}
|
||||
using Hncore.Infrastructure.Tree;
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Hncore.Infrastructure.Extension;
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class ProductResponse
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Image { get; set; }
|
||||
public int Sort { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string Profile { get; set; }
|
||||
public int TenantId { get; set; }
|
||||
|
||||
public int OnLine { get; set; } = 1;
|
||||
|
||||
public List<string> ContentLine=> this.Profile.Has()?this.Profile.Split('\n').ToList():new List<string>();
|
||||
|
||||
}
|
||||
|
||||
public class ProductWithPackageResponse
|
||||
{
|
||||
public ProductResponse Product { get; set; }
|
||||
public List<ProductPackageEntity> Packages { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
using Hncore.Infrastructure.Tree;
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Hncore.Infrastructure.Extension;
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class PackagePriceDiscount
|
||||
{
|
||||
public ProductPackageEntity Package { get; set; }
|
||||
|
||||
public ProductPriceDiscountEntity PriceDiscount { get; set; }
|
||||
}
|
||||
public class ProductWithPriceDiscountResponse
|
||||
{
|
||||
public ProductResponse Product { get; set; }
|
||||
public List<PackagePriceDiscount> PackageDiscounts { get; set; }
|
||||
}
|
||||
}
|
||||
using Hncore.Infrastructure.Tree;
|
||||
using Hncore.Pass.Vpn.Domain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Hncore.Infrastructure.Extension;
|
||||
namespace Hncore.Pass.Vpn.Response.Product
|
||||
{
|
||||
public class PackagePriceDiscount
|
||||
{
|
||||
public ProductPackageEntity Package { get; set; }
|
||||
|
||||
public ProductPriceDiscountEntity PriceDiscount { get; set; }
|
||||
}
|
||||
public class ProductWithPriceDiscountResponse
|
||||
{
|
||||
public ProductResponse Product { get; set; }
|
||||
public List<PackagePriceDiscount> PackageDiscounts { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user