mirror of
https://github.com/DevExpress/netcore-winforms-demos.git
synced 2026-01-03 07:14:01 +00:00
19.1.3-ctp
This commit is contained in:
committed by
GitHub
parent
2e45b5d38f
commit
a2371dfb0b
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace DevExpress.DevAV {
|
||||
public class OrderItem : DatabaseObject {
|
||||
public virtual Order Order { get; set; }
|
||||
public long? OrderId { get; set; }
|
||||
public virtual Product Product { get; set; }
|
||||
public long? ProductId { get; set; }
|
||||
public int ProductUnits { get; set; }
|
||||
[DataType(DataType.Currency)]
|
||||
public decimal ProductPrice { get; set; }
|
||||
[DataType(DataType.Currency)]
|
||||
public decimal Discount { get; set; }
|
||||
[DataType(DataType.Currency)]
|
||||
public decimal Total { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user