namespace wcftest.orm
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
public partial class vSale_Order_ProductSplit
|
{
|
[Key]
|
[Column(Order = 0)]
|
public int ProductSplit_Id { get; set; }
|
|
public long? Product_Id { get; set; }
|
|
[Key]
|
[Column(Order = 1)]
|
[StringLength(50)]
|
public string ProductCode { get; set; }
|
|
[StringLength(500)]
|
public string ProductName { get; set; }
|
|
[StringLength(300)]
|
public string ProductModel { get; set; }
|
|
public string ProductSpec { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? SalePrice { get; set; }
|
|
public int? Consignor_Id { get; set; }
|
|
[StringLength(50)]
|
public string ConsignorCode { get; set; }
|
|
[StringLength(150)]
|
public string ConsignorName { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? PurchasePrice { get; set; }
|
|
[Key]
|
[Column(Order = 2)]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public int Quantity { get; set; }
|
|
public int? PositionName { get; set; }
|
}
|
}
|