⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orderitem.cs

📁 如果不使用IIS,请先运行 XSP.exe,待提示已侦听 8080端口后
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Web;
using Castle.ActiveRecord;

namespace DNNLite.DesktopModules.Shop.Orders
{

    /// <summary>
    ///订单明细
    /// </summary>
    [ActiveRecord("DNNLite_OrderItem")]
    public class OrderItem: ActiveRecordBase<OrderItem >
    {
        private int _ItemID;
        ///<summary>
        ///ID
        ///</summary>
        [PrimaryKey(PrimaryKeyType.Native)]
        public int ID
        {
            get { return _ItemID; }
            set { _ItemID = value; }
        }
        private int _OrderID;
        ///<summary>
        ///订单ID
        ///</summary>
        [Property("OrderID")]
        public int OrderID
        {
            get { return _OrderID; }
            set { _OrderID = value; }
        }
        private int _ProductID;
        ///<summary>
        ///产品ID
        ///</summary>
        [Property("ProductID")]
        public int ProductID
        {
            get { return _ProductID; }
            set { _ProductID = value; }
        }
        private string _TableName;
        ///<summary>
        ///表名
        ///</summary>
        [Property("TableName")]
        public string TableName
        {
            get { return _TableName; }
            set { _TableName = value; }
        }
        private string _Property;
        ///<summary>
        ///属性,如果是单一商品这属性为空
        ///</summary>
        [Property("Property")]
        public string Property
        {
            get { return _Property; }
            set { _Property = value; }
        }
        private int _SaleType;
        ///<summary>
        ///销售类型  1--正常销售  2--换购  3--赠送  4--批发
        ///</summary>
        [Property("SaleType")]
        public int SaleType
        {
            get { return _SaleType; }
            set { _SaleType = value; }
        }
        private decimal _Price_Market;
        ///<summary>
        ///原价
        ///</summary>
        [Property("Price_Market")]
        public decimal Price_Market
        {
            get { return _Price_Market; }
            set { _Price_Market = value; }
        }
        private decimal _Price;
        ///<summary>
        ///系统计算出的销售价
        ///</summary>
        [Property("Price")]
        public decimal Price
        {
            get { return _Price; }
            set { _Price = value; }
        }
        private decimal _TruePrice;
        ///<summary>
        ///实际销售价
        ///</summary>
        [Property("TruePrice")]
        public decimal TruePrice
        {
            get { return _TruePrice; }
            set { _TruePrice = value; }
        }
        private int _Amount;
        ///<summary>
        ///订购数量
        ///</summary>
        [Property("Amount")]
        public int Amount
        {
            get { return _Amount; }
            set { _Amount = value; }
        }
        private decimal _SubTotal;
        ///<summary>
        ///订购金额
        ///</summary>
        [Property("SubTotal")]
        public decimal SubTotal
        {
            get { return _SubTotal; }
            set { _SubTotal = value; }
        }
        private DateTime? _BeginDate;
        ///<summary>
        ///开始计算服务期限日期
        ///</summary>
        [Property("BeginDate")]
        public DateTime? BeginDate
        {
            get { return _BeginDate; }
            set { _BeginDate = value; }
        }
        private int _ServiceTerm;
        ///<summary>
        ///服务期限
        ///</summary>
        [Property("ServiceTerm")]
        public int ServiceTerm
        {
            get { return _ServiceTerm; }
            set { _ServiceTerm = value; }
        }
        private int _ServiceTermUnit;
        ///<summary>
        ///服务年限单位 0-年,1-月,2-日
        ///</summary>
        [Property("ServiceTermUnit")]
        public int ServiceTermUnit
        {
            get { return _ServiceTermUnit; }
            set { _ServiceTermUnit = value; }
        }
        private string _Remark;
        ///<summary>
        ///备注
        ///</summary>
        [Property("Remark")]
        public string Remark
        {
            get { return _Remark; }
            set { _Remark = value; }
        }
        private decimal _PresentMoney;
        ///<summary>
        ///返还的现金券
        ///</summary>
        [Property("PresentMoney")]
        public decimal PresentMoney
        {
            get { return _PresentMoney; }
            set { _PresentMoney = value; }
        }
        private int _PresentPoint;
        ///<summary>
        ///赠送点券
        ///</summary>
        [Property("PresentPoint")]
        public int PresentPoint
        {
            get { return _PresentPoint; }
            set { _PresentPoint = value; }
        }
        private int _PresentExp;
        ///<summary>
        ///赠送的积分
        ///</summary>
        [Property("PresentExp")]
        public int PresentExp
        {
            get { return _PresentExp; }
            set { _PresentExp = value; }
        }
        private string _ProductCharacter;
        ///<summary>
        ///商品性质
        ///</summary>
        [Property("ProductCharacter")]
        public string ProductCharacter
        {
            get { return _ProductCharacter; }
            set { _ProductCharacter = value; }
        }
        private string _ProductName;
        ///<summary>
        ///商品名称
        ///</summary>
        [Property("ProductName")]
        public string ProductName
        {
            get { return _ProductName; }
            set { _ProductName = value; }
        }
        private string _Unit;
        ///<summary>
        ///单位
        ///</summary>
        [Property("Unit")]
        public string Unit
        {
            get { return _Unit; }
            set { _Unit = value; }
        }
        private float _Weight;
        ///<summary>
        ///重量
        ///</summary>
        [Property("Weight")]
        public float Weight
        {
            get { return _Weight; }
            set { _Weight = value; }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -