Initial commit
This commit is contained in:
20
PartSource.Entities/Models/ApiClient.cs
Normal file
20
PartSource.Entities/Models/ApiClient.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.ApiClient
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
public class ApiClient
|
||||
{
|
||||
[System.ComponentModel.DataAnnotations.Key]
|
||||
public string Key { get; set; }
|
||||
|
||||
public string AppName { get; set; }
|
||||
|
||||
public string Secret { get; set; }
|
||||
|
||||
public bool Active { get; set; }
|
||||
}
|
||||
}
|
||||
17
PartSource.Entities/Models/Manufacturer.cs
Normal file
17
PartSource.Entities/Models/Manufacturer.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.Manufacturer
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
public class Manufacturer
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string LineCode { get; set; }
|
||||
}
|
||||
}
|
||||
27
PartSource.Entities/Models/Part.cs
Normal file
27
PartSource.Entities/Models/Part.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.Part
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
public class Part
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int ManufacturerId { get; set; }
|
||||
|
||||
public long? ShopifyId { get; set; }
|
||||
|
||||
public int Sku { get; set; }
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public Manufacturer Manufacturer { get; set; }
|
||||
}
|
||||
}
|
||||
100
PartSource.Entities/Models/PartData.cs
Normal file
100
PartSource.Entities/Models/PartData.cs
Normal file
@@ -0,0 +1,100 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.PartData
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
[Table("PartData")]
|
||||
public class PartData
|
||||
{
|
||||
[Key]
|
||||
[StringLength(255)]
|
||||
public string SKU { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string LOB_NM { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string CATEGORY_NM { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string SUBCATEGORY_NM { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FINELINE_NM { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string PRODUCT_ENGLISH_LONG_DESC { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string BRAND_NM { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string CORPORATE_STATUS_NM { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS1 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS2 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS3 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS4 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS5 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS6 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS7 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS8 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS9 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS10 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS11 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS12 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS13 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string FAMILY_FEATURES_BENEFITS14 { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string Tested { get; set; }
|
||||
|
||||
[Column("Line Code")]
|
||||
[StringLength(255)]
|
||||
public string Line_Code { get; set; }
|
||||
|
||||
[Column("Part Number")]
|
||||
[StringLength(255)]
|
||||
public string Part_Number { get; set; }
|
||||
|
||||
[Column("Compare Price", TypeName = "money")]
|
||||
public Decimal? Compare_Price { get; set; }
|
||||
|
||||
[Column("Your Price", TypeName = "money")]
|
||||
public Decimal? Your_Price { get; set; }
|
||||
}
|
||||
}
|
||||
40
PartSource.Entities/Models/PostalCode.cs
Normal file
40
PartSource.Entities/Models/PostalCode.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.PostalCode
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
public class PostalCode
|
||||
{
|
||||
[Key]
|
||||
[MaxLength(3)]
|
||||
public string ForwardSortationArea { get; set; }
|
||||
|
||||
[Required]
|
||||
public string City { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Province { get; set; }
|
||||
|
||||
[Required]
|
||||
public DbGeography Location { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string LocalDeliveryUnit { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string Code
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.Format("{0} {1}", (object) this.ForwardSortationArea, (object) this.LocalDeliveryUnit);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
35
PartSource.Entities/Models/SeoFitment.cs
Normal file
35
PartSource.Entities/Models/SeoFitment.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.SeoFitment
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
[Table("SeoFitment")]
|
||||
public class SeoFitment
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string mfg_code { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string part_number { get; set; }
|
||||
|
||||
public int? pt_num { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string part_label { get; set; }
|
||||
|
||||
public int basevehicleid { get; set; }
|
||||
|
||||
public int engconfigid { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string note_text { get; set; }
|
||||
}
|
||||
}
|
||||
19
PartSource.Entities/Models/Store.cs
Normal file
19
PartSource.Entities/Models/Store.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.Store
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
public class Store
|
||||
{
|
||||
[Key]
|
||||
public int StoreNumber { get; set; }
|
||||
|
||||
public DbGeography Location { get; set; }
|
||||
}
|
||||
}
|
||||
31
PartSource.Entities/Models/StorePart.cs
Normal file
31
PartSource.Entities/Models/StorePart.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.StorePart
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
public class StorePart
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public int StoreNumber { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public int PartId { get; set; }
|
||||
|
||||
public int Quantity { get; set; }
|
||||
|
||||
public Decimal Price { get; set; }
|
||||
|
||||
public Store Store { get; set; }
|
||||
|
||||
public Part Part { get; set; }
|
||||
}
|
||||
}
|
||||
34
PartSource.Entities/Models/ps_parts_availability.cs
Normal file
34
PartSource.Entities/Models/ps_parts_availability.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Models.ps_parts_availability
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace PartSource.Entities.Models
|
||||
{
|
||||
public class ps_parts_availability
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int Store { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int SKU { get; set; }
|
||||
|
||||
[Column("Line Code")]
|
||||
[StringLength(50)]
|
||||
public string Line_Code { get; set; }
|
||||
|
||||
[Column("Part Number")]
|
||||
[StringLength(50)]
|
||||
public string Part_Number { get; set; }
|
||||
|
||||
public int? QTY { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user