131 lines
3.5 KiB
C#
131 lines
3.5 KiB
C#
namespace SytelineSaAppDataModel
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
[Table("itemcustprice_all")]
|
|
public partial class ItemCustomerPriceAll
|
|
{
|
|
[Key]
|
|
[Column("site_ref", Order = 0)]
|
|
[StringLength(8)]
|
|
public string SiteReference { get; set; }
|
|
|
|
[Key]
|
|
[Column("item", Order = 1)]
|
|
[StringLength(30)]
|
|
public string Item { get; set; }
|
|
|
|
[Key]
|
|
[Column("cust_num", Order = 2)]
|
|
[StringLength(7)]
|
|
public string CustomerNumber { get; set; }
|
|
|
|
[Column("cont_price")]
|
|
public decimal? ContPrice { get; set; }
|
|
|
|
[Key]
|
|
[Column("effect_date", Order = 3)]
|
|
public DateTime EffectiveDate { get; set; }
|
|
|
|
[Column("brk_qty##1")]
|
|
public decimal? BrkQuantityOne { get; set; }
|
|
|
|
[Column("brk_qty##2")]
|
|
public decimal? BrkQuantityTwo { get; set; }
|
|
|
|
[Column("brk_qty##3")]
|
|
public decimal? BrkQuantityThree { get; set; }
|
|
|
|
[Column("brk_qty##4")]
|
|
public decimal? BrkQuantityFour { get; set; }
|
|
|
|
[Column("brk_qty##5")]
|
|
public decimal? BrkQuantityFive { get; set; }
|
|
|
|
[Column("brk_price##1")]
|
|
public decimal? BrkPriceOne { get; set; }
|
|
|
|
[Column("brk_price##2")]
|
|
public decimal? BrkPriceTwo { get; set; }
|
|
|
|
[Column("brk_price##3")]
|
|
public decimal? BrkPriceThree { get; set; }
|
|
|
|
[Column("brk_price##4")]
|
|
public decimal? BrkPriceFour { get; set; }
|
|
|
|
[Column("brk_price##5")]
|
|
public decimal? BrkPriceFive { get; set; }
|
|
|
|
[Column("base_code##1")]
|
|
[StringLength(2)]
|
|
public string BaseCodeOne { get; set; }
|
|
|
|
[Column("base_code##2")]
|
|
[StringLength(2)]
|
|
public string BaseCodeTwo { get; set; }
|
|
|
|
[Column("base_code##3")]
|
|
[StringLength(2)]
|
|
public string BaseCodeThree { get; set; }
|
|
|
|
[Column("base_code##4")]
|
|
[StringLength(2)]
|
|
public string BaseCodeFour { get; set; }
|
|
|
|
[Column("base_code##5")]
|
|
[StringLength(2)]
|
|
public string BaseCodeFive { get; set; }
|
|
|
|
[Column("dol_percent##1")]
|
|
[StringLength(1)]
|
|
public string DolPercentOne { get; set; }
|
|
|
|
[Column("dol_percent##2")]
|
|
[StringLength(1)]
|
|
public string DolPercentTwo { get; set; }
|
|
|
|
[Column("dol_percent##3")]
|
|
[StringLength(1)]
|
|
public string DolPercentThree { get; set; }
|
|
|
|
[Column("dol_percent##4")]
|
|
[StringLength(1)]
|
|
public string DolPercentFour { get; set; }
|
|
|
|
[Column("dol_percent##5")]
|
|
[StringLength(1)]
|
|
public string DolPercentFive { get; set; }
|
|
|
|
public byte NoteExistsFlag { get; set; }
|
|
|
|
public DateTime RecordDate { get; set; }
|
|
|
|
public Guid RowPointer { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(30)]
|
|
public string CreatedBy { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(30)]
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime CreateDate { get; set; }
|
|
|
|
public byte InWorkflow { get; set; }
|
|
|
|
[Key]
|
|
[Column("cust_item_seq", Order = 4)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int CustomerItemSequence { get; set; }
|
|
|
|
[Column("include_tax_in_price")]
|
|
public byte? IncludeTaxInPrice { get; set; }
|
|
}
|
|
}
|