32 lines
770 B
C#
32 lines
770 B
C#
// Decompiled with JetBrains decompiler
|
|
// Type: PartSource.Data.Models.StorePart
|
|
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
|
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
|
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace PartSource.Data.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; }
|
|
}
|
|
}
|