using System;
using System.Linq;
using System.Text;

namespace uts_zongqing
{
    ///<summary>
    ///
    ///</summary>
    public partial class tbl_orders
    {
           public tbl_orders(){


           }
           /// <summary>
           /// Desc:订单索引
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int ID {get;set;}

           /// <summary>
           /// Desc:所属厂商索引
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int CompanyID {get;set;}

           /// <summary>
           /// Desc:订单生产产品索引
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int ProductID {get;set;}

           /// <summary>
           /// Desc:订单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OrderNo {get;set;}

           /// <summary>
           /// Desc:生产数量
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int OrderCount {get;set;}

           /// <summary>
           /// Desc:交货日期
           /// Default:NULL
           /// Nullable:True
           /// </summary>           
           public DateTime? DeliveryTime {get;set;}

           /// <summary>
           /// Desc:订单生成日期
           /// Default:current_timestamp()
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:更新时间
           /// Default:current_timestamp()
           /// Nullable:False
           /// </summary>           
           public DateTime UpdateTime {get;set;}

           /// <summary>
           /// Desc:成本单价
           /// Default:NULL
           /// Nullable:True
           /// </summary>           
           public float? CostPrice {get;set;}

           /// <summary>
           /// Desc:销售单价
           /// Default:NULL
           /// Nullable:True
           /// </summary>           
           public float? TransactPrice {get;set;}

           /// <summary>
           /// Desc:订单状态
           /// Default:NULL
           /// Nullable:True
           /// </summary>           
           public int? OrderStatus {get;set;}

    }
}
