mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-05 22:35:36 +00:00
17 lines
431 B
C#
17 lines
431 B
C#
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 OrderSubtotal
|
|
{
|
|
[Column("OrderID")]
|
|
public int OrderId { get; set; }
|
|
[Column(TypeName = "money")]
|
|
public decimal? Subtotal { get; set; }
|
|
}
|
|
}
|