/*********************** * 说明:单据录入条码模型 * 创建人:龚宇超 * 创建日期:2018-04-28 * 修改人: * 修改日期: * 修改备注: * 版本:1.0.0.0 ***********************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace Lskj.Model { public class BillBarCodeModel { /// /// 商品名称 /// /// The name of the product. public string ProductName { get; set; } /// /// 物料规格 /// /// The spec. public string ProductSpec { get; set; } /// /// 物料型号 /// /// The product model. public string ProductModel { get; set; } /// /// 商品品类 /// /// The classify. public string ProductClassify { get; set; } /// /// 商品品牌 /// /// The productbrand. public string ProductBrand { get; set; } /// /// 花色 /// /// The color. public string Color { get; set; } public BillBarCodeModel(DataRow row) { this.ProductName = row["productName"] + ""; this.ProductSpec = row["spec"] + ""; this.ProductModel = row["model"] + ""; this.ProductClassify = row["classify"] + ""; this.ProductBrand = row["Mproductid"] + ""; this.Color = row["str4"] + ""; } } }