2022-10-08 14:02:05 -04:00
|
|
|
|
// <auto-generated />
|
|
|
|
|
using GrossesMitainesAPI.Data;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
namespace GrossesMitainesAPI.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(InventoryContext))]
|
|
|
|
|
partial class InventoryContextModelSnapshot : ModelSnapshot
|
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder
|
2022-10-25 13:01:31 -04:00
|
|
|
|
.HasAnnotation("ProductVersion", "6.0.10")
|
2022-10-08 14:02:05 -04:00
|
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|
|
|
|
|
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("GrossesMitainesAPI.Models.Product", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
|
|
|
|
|
2022-10-09 15:07:35 -04:00
|
|
|
|
b.Property<string>("Category")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
2022-10-08 14:02:05 -04:00
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
2022-10-09 13:18:39 -04:00
|
|
|
|
b.Property<string>("ImageName")
|
2022-10-08 14:02:05 -04:00
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("Price")
|
|
|
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
|
|
2022-10-16 20:33:58 -04:00
|
|
|
|
b.Property<decimal>("PromoPrice")
|
|
|
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
|
|
2022-10-09 15:07:35 -04:00
|
|
|
|
b.Property<long>("Quantity")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
2022-10-16 11:25:21 -04:00
|
|
|
|
b.Property<int>("Status")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
2022-10-08 14:02:05 -04:00
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasMaxLength(255)
|
|
|
|
|
.HasColumnType("nvarchar(255)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Products");
|
|
|
|
|
|
|
|
|
|
b.HasData(
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 1,
|
2022-10-09 15:07:35 -04:00
|
|
|
|
Category = "Linge",
|
2022-10-08 14:02:05 -04:00
|
|
|
|
Description = "Pour faire votre propre bonhomme de 1837, comme dans le bon vieux temps.",
|
2022-10-09 13:18:39 -04:00
|
|
|
|
ImageName = "ceintureflechee",
|
2022-10-08 14:02:05 -04:00
|
|
|
|
Price = 85.86m,
|
2022-10-25 13:01:31 -04:00
|
|
|
|
PromoPrice = 29.99m,
|
2022-10-09 15:07:35 -04:00
|
|
|
|
Quantity = 1L,
|
2022-10-16 11:25:21 -04:00
|
|
|
|
Status = 4,
|
|
|
|
|
Title = "Ceinture flèchée"
|
2022-10-08 14:02:05 -04:00
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 2,
|
2022-10-09 15:07:35 -04:00
|
|
|
|
Category = "Linge",
|
2022-10-08 14:02:05 -04:00
|
|
|
|
Description = "Parce que ça sent la coupe!",
|
2022-10-09 13:18:39 -04:00
|
|
|
|
ImageName = "pantouflesCH",
|
2022-10-08 14:02:05 -04:00
|
|
|
|
Price = 15.64m,
|
2022-10-25 13:01:31 -04:00
|
|
|
|
PromoPrice = 9.99m,
|
2022-10-09 15:07:35 -04:00
|
|
|
|
Quantity = 54L,
|
2022-10-16 11:25:21 -04:00
|
|
|
|
Status = 0,
|
|
|
|
|
Title = "Pantoufles du Canadien en Phentex"
|
2022-10-08 14:02:05 -04:00
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 3,
|
2022-10-09 15:07:35 -04:00
|
|
|
|
Category = "Homme",
|
2022-10-08 14:02:05 -04:00
|
|
|
|
Description = "On ne lui ferait pas mal, en tout cas!!",
|
2022-10-09 13:18:39 -04:00
|
|
|
|
ImageName = "jeanlucmongrain",
|
2022-10-08 14:02:05 -04:00
|
|
|
|
Price = 1453.12m,
|
2022-10-25 13:01:31 -04:00
|
|
|
|
PromoPrice = 999.99m,
|
2022-10-09 15:07:35 -04:00
|
|
|
|
Quantity = 1L,
|
2022-10-16 11:25:21 -04:00
|
|
|
|
Status = 3,
|
|
|
|
|
Title = "Jean-Luc Mongrain"
|
2022-10-25 13:01:31 -04:00
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 4,
|
|
|
|
|
Category = "Linge",
|
|
|
|
|
Description = "Tellement simple et comfortable.",
|
|
|
|
|
ImageName = "tshirt",
|
|
|
|
|
Price = 12.12m,
|
|
|
|
|
PromoPrice = 9.99m,
|
|
|
|
|
Quantity = 143L,
|
|
|
|
|
Status = 0,
|
|
|
|
|
Title = "T-Shirt"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 5,
|
|
|
|
|
Category = "Vêtement d'extérieur",
|
|
|
|
|
Description = "Deux pour un!",
|
|
|
|
|
ImageName = "mitaines",
|
|
|
|
|
Price = 8.18m,
|
|
|
|
|
PromoPrice = 6.99m,
|
|
|
|
|
Quantity = 1423L,
|
|
|
|
|
Status = 0,
|
|
|
|
|
Title = "Mitaines"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 6,
|
|
|
|
|
Category = "Vêtement d'extérieur",
|
|
|
|
|
Description = "Deux pour un!",
|
|
|
|
|
ImageName = "foulard",
|
|
|
|
|
Price = 10.56m,
|
|
|
|
|
PromoPrice = 8.99m,
|
|
|
|
|
Quantity = 14L,
|
|
|
|
|
Status = 4,
|
|
|
|
|
Title = "Foulard"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 7,
|
|
|
|
|
Category = "Sous-Vêtement",
|
|
|
|
|
Description = "Pour garder le p'tit bout au chaud.",
|
|
|
|
|
ImageName = "kokin",
|
|
|
|
|
Price = 15.45m,
|
|
|
|
|
PromoPrice = 12.99m,
|
|
|
|
|
Quantity = 144L,
|
|
|
|
|
Status = 4,
|
|
|
|
|
Title = "Jock-Strap en phentex"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 8,
|
|
|
|
|
Category = "Sous-Vêtement",
|
|
|
|
|
Description = "Pour garder l'absence de p'tit bout au chaud.",
|
|
|
|
|
ImageName = "kokin",
|
|
|
|
|
Price = 15.45m,
|
|
|
|
|
PromoPrice = 12.99m,
|
|
|
|
|
Quantity = 224L,
|
|
|
|
|
Status = 4,
|
|
|
|
|
Title = "Jock-Strap féminin en phentex"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 9,
|
|
|
|
|
Category = "Alien",
|
|
|
|
|
Description = "En chiffon.",
|
|
|
|
|
ImageName = "bibi",
|
|
|
|
|
Price = 1045.45m,
|
|
|
|
|
PromoPrice = 1023.99m,
|
|
|
|
|
Quantity = 1L,
|
|
|
|
|
Status = 3,
|
|
|
|
|
Title = "Bibi"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 10,
|
|
|
|
|
Category = "Vêtement d'extérieur",
|
|
|
|
|
Description = "En chiffon.",
|
|
|
|
|
ImageName = "tuque",
|
|
|
|
|
Price = 15.45m,
|
|
|
|
|
PromoPrice = 12.99m,
|
|
|
|
|
Quantity = 1L,
|
|
|
|
|
Status = 0,
|
|
|
|
|
Title = "Tuque en laine"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 11,
|
|
|
|
|
Category = "Vêtement d'extérieur",
|
|
|
|
|
Description = "Pour se faire taper dessus avec une poêle à frire tout en restant au chaud.",
|
|
|
|
|
ImageName = "bonhomme",
|
|
|
|
|
Price = 145.45m,
|
|
|
|
|
PromoPrice = 123.99m,
|
|
|
|
|
Quantity = 1L,
|
|
|
|
|
Status = 4,
|
|
|
|
|
Title = "Habit de Bonhomme Carnaval"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 12,
|
|
|
|
|
Category = "Autre",
|
|
|
|
|
Description = "Pour se pêter la fiole avec style.",
|
|
|
|
|
ImageName = "gauze",
|
|
|
|
|
Price = 145.45m,
|
|
|
|
|
PromoPrice = 123.99m,
|
|
|
|
|
Quantity = 0L,
|
|
|
|
|
Status = 1,
|
|
|
|
|
Title = "Gauze en phentex"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 13,
|
|
|
|
|
Category = "Homme",
|
|
|
|
|
Description = "En chiffon.",
|
|
|
|
|
ImageName = "jesus",
|
|
|
|
|
Price = 145.45m,
|
|
|
|
|
PromoPrice = 123.99m,
|
|
|
|
|
Quantity = 1L,
|
|
|
|
|
Status = 3,
|
|
|
|
|
Title = "Petit Jésus de plâtre"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 14,
|
|
|
|
|
Category = "Autre",
|
|
|
|
|
Description = "À écouter dans l'habit de Bonhomme Carnaval tant que possible.",
|
|
|
|
|
ImageName = "vhs",
|
|
|
|
|
Price = 3.45m,
|
|
|
|
|
PromoPrice = 1.99m,
|
|
|
|
|
Quantity = 164363L,
|
|
|
|
|
Status = 3,
|
|
|
|
|
Title = "VHS de la Guerre des Tuques"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 15,
|
|
|
|
|
Category = "Linge",
|
|
|
|
|
Description = "(N'est pas réellement pare-balle).",
|
|
|
|
|
ImageName = "chandailquetaine",
|
|
|
|
|
Price = 1435.45m,
|
|
|
|
|
PromoPrice = 1223.99m,
|
|
|
|
|
Quantity = 18L,
|
|
|
|
|
Status = 3,
|
|
|
|
|
Title = "Gilet pare-balle en laine"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 16,
|
|
|
|
|
Category = "Autre",
|
|
|
|
|
Description = "Pour s'éffoirer le nez dedans.",
|
|
|
|
|
ImageName = "doudou",
|
|
|
|
|
Price = 14.45m,
|
|
|
|
|
PromoPrice = 13.99m,
|
|
|
|
|
Quantity = 14L,
|
|
|
|
|
Status = 0,
|
|
|
|
|
Title = "Doudou"
|
|
|
|
|
},
|
|
|
|
|
new
|
|
|
|
|
{
|
|
|
|
|
Id = 17,
|
|
|
|
|
Category = "Vêtements d'extérieur",
|
|
|
|
|
Description = "Pour avoir l'air thug en hiver.",
|
|
|
|
|
ImageName = "mitaines2",
|
|
|
|
|
Price = 9.45m,
|
|
|
|
|
PromoPrice = 8.99m,
|
|
|
|
|
Quantity = 16L,
|
|
|
|
|
Status = 0,
|
|
|
|
|
Title = "Mitaines pas de doigts"
|
2022-10-08 14:02:05 -04:00
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|