10 changed files with 177 additions and 13 deletions
@ -0,0 +1,9 @@ |
|||
<Application x:Class="BBWYB.PurchaserCapture.App" |
|||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:local="clr-namespace:BBWYB.PurchaserCapture" |
|||
StartupUri="MainWindow.xaml"> |
|||
<Application.Resources> |
|||
|
|||
</Application.Resources> |
|||
</Application> |
@ -0,0 +1,22 @@ |
|||
using Microsoft.Extensions.Configuration; |
|||
using System.Configuration; |
|||
using System.Data; |
|||
using System.Windows; |
|||
|
|||
namespace BBWYB.PurchaserCapture |
|||
{ |
|||
/// <summary>
|
|||
/// Interaction logic for App.xaml
|
|||
/// </summary>
|
|||
public partial class App : Application |
|||
{ |
|||
public IServiceProvider ServiceProvider { get; private set; } |
|||
public IConfiguration Configuration { get; private set; } |
|||
|
|||
protected override void OnStartup(StartupEventArgs e) |
|||
{ |
|||
base.OnStartup(e); |
|||
} |
|||
} |
|||
|
|||
} |
@ -0,0 +1,10 @@ |
|||
using System.Windows; |
|||
|
|||
[assembly: ThemeInfo( |
|||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
|||
//(used if a resource is not found in the page,
|
|||
// or application resource dictionaries)
|
|||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
|||
//(used if a resource is not found in the page,
|
|||
// app, or any theme specific resource dictionaries)
|
|||
)] |
@ -0,0 +1,17 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
|
|||
<PropertyGroup> |
|||
<OutputType>WinExe</OutputType> |
|||
<TargetFramework>net6.0-windows</TargetFramework> |
|||
<Nullable>enable</Nullable> |
|||
<ImplicitUsings>enable</ImplicitUsings> |
|||
<UseWPF>true</UseWPF> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<PackageReference Include="FreeSql" Version="3.2.690" /> |
|||
<PackageReference Include="FreeSql.Provider.MySql" Version="3.2.690" /> |
|||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.2-mauipre.1.22102.15" /> |
|||
</ItemGroup> |
|||
|
|||
</Project> |
@ -0,0 +1,12 @@ |
|||
<Window x:Class="BBWYB.PurchaserCapture.MainWindow" |
|||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|||
xmlns:local="clr-namespace:BBWYB.PurchaserCapture" |
|||
mc:Ignorable="d" |
|||
Title="MainWindow" Height="450" Width="800"> |
|||
<Grid> |
|||
|
|||
</Grid> |
|||
</Window> |
@ -0,0 +1,24 @@ |
|||
using System.Text; |
|||
using System.Windows; |
|||
using System.Windows.Controls; |
|||
using System.Windows.Data; |
|||
using System.Windows.Documents; |
|||
using System.Windows.Input; |
|||
using System.Windows.Media; |
|||
using System.Windows.Media.Imaging; |
|||
using System.Windows.Navigation; |
|||
using System.Windows.Shapes; |
|||
|
|||
namespace BBWYB.PurchaserCapture |
|||
{ |
|||
/// <summary>
|
|||
/// Interaction logic for MainWindow.xaml
|
|||
/// </summary>
|
|||
public partial class MainWindow : Window |
|||
{ |
|||
public MainWindow() |
|||
{ |
|||
InitializeComponent(); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,57 @@ |
|||
using FreeSql.DataAnnotations; |
|||
using System; |
|||
|
|||
namespace BBWYB.Server.Model.Db.BBWY |
|||
{ |
|||
|
|||
[Table(Name = "productsku", DisableSyncStructure = true)] |
|||
public partial class ProductSku |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// SKU
|
|||
/// </summary>
|
|||
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)] |
|||
public string Id { get; set; } |
|||
|
|||
[Column(DbType = "datetime")] |
|||
public DateTime? CreateTime { get; set; } |
|||
|
|||
|
|||
public string Logo { get; set; } |
|||
|
|||
[Column(DbType = "int(1)", MapType = typeof(int))] |
|||
public Enums.Platform Platform { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 售价
|
|||
/// </summary>
|
|||
[Column(DbType = "decimal(18,2)")] |
|||
public decimal? Price { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// SPU
|
|||
/// </summary>
|
|||
[Column(StringLength = 50)] |
|||
public string ProductId { get; set; } |
|||
|
|||
|
|||
public long? ShopId { get; set; } |
|||
|
|||
|
|||
public string Title { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 京东Sku状态【1:上架 2:下架 4:删除】
|
|||
/// </summary>
|
|||
public int? State { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 三级类目Id
|
|||
/// </summary>
|
|||
public int? CategoryId { get; set; } |
|||
|
|||
public string CategoryName { get; set; } |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue