using System;
using System.Collections.Generic;
using Mall.Model.Entity.Property;
using VT.FW.DB;

namespace Mall.Model.Extend.Property
{
    /// <summary>
    /// 采购单明细扩展实体
    /// </summary>    
    [Serializable]
    [DB(ConnectionName = "PropertyConnection")]
    public class RB_Procurement_Detail_Extend : RB_Procurement_Detail
    {
        /// <summary>
        /// 采购单ids
        /// </summary>
        public string ProcurementIds { get; set; }
        /// <summary>
        /// 物料档案
        /// </summary>
        public RB_Supplies_Material_Extend MaterialModel { get; set; }

        /// <summary>
        /// 规格key
        /// </summary>
        public string SpecificationKey { get; set; }
        /// <summary>
        /// /商品id
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string GoodsRemark { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        public int InStockNum { get; set; }

        /// <summary>
        /// 物料有效期
        /// </summary>
        public List<RB_Supplies_StockInValidity_Extend> ValidityList { get; set; }

        /// <summary>
        /// 条形码
        /// </summary>
        public string Barcode { get; set; }
    }
}