mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-19 21:23:54 +00:00
Initial commit
This commit is contained in:
parent
1d9d051759
commit
9656378279
557 changed files with 182300 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Packt.Shared
|
||||
{
|
||||
[Keyless]
|
||||
public partial class AlphabeticalListOfProduct
|
||||
{
|
||||
public int ProductId { get; set; }
|
||||
[StringLength(40)]
|
||||
public string ProductName { get; set; } = null!;
|
||||
public int? SupplierId { get; set; }
|
||||
public int? CategoryId { get; set; }
|
||||
[StringLength(20)]
|
||||
public string? QuantityPerUnit { get; set; }
|
||||
[Column(TypeName = "money")]
|
||||
public decimal? UnitPrice { get; set; }
|
||||
public short? UnitsInStock { get; set; }
|
||||
public short? UnitsOnOrder { get; set; }
|
||||
public short? ReorderLevel { get; set; }
|
||||
public bool Discontinued { get; set; }
|
||||
[StringLength(15)]
|
||||
public string CategoryName { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue