using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HONORCSData.Order { /// /// 出库单/入库单详情 /// [SugarTable("order_albaran_detail")] public class EOrderAlbaranDetail { /// /// 出库单/入库单详情 /// public EOrderAlbaranDetail() { } private System.Int32 _AlbaranId; /// /// albaran_id /// [SugarColumn(ColumnName = "albaran_id")] public System.Int32 AlbaranId { get { return this._AlbaranId; } set { this._AlbaranId = value; } } private System.String _GoodsNo; /// /// 商品编号 /// [SugarColumn(ColumnName = "goods_no")] public System.String GoodsNo { get { return this._GoodsNo; } set { this._GoodsNo = value; } } private System.String _BarCode; /// /// 条码 /// [SugarColumn(ColumnName = "bar_code")] public System.String BarCode { get { return this._BarCode; } set { this._BarCode = value; } } private System.Boolean _IsBlanceBarCode; /// /// 是否对称条码:1 是 0 否 /// [SugarColumn(ColumnName = "is_blance_bar_code")] public System.Boolean IsBlanceBarCode { get { return this._IsBlanceBarCode; } set { this._IsBlanceBarCode = value; } } private System.String _SpanishName; /// /// 西文名称 /// [SugarColumn(ColumnName = "spanish_name")] public System.String SpanishName { get { return this._SpanishName; } set { this._SpanishName = value; } } private System.String _ChineseName; /// /// 中文名称 /// [SugarColumn(ColumnName = "chinese_name")] public System.String ChineseName { get { return this._ChineseName; } set { this._ChineseName = value; } } private System.Decimal? _Price; /// /// 价格 /// [SugarColumn(ColumnName = "price")] public System.Decimal? Price { get { return this._Price; } set { this._Price = value; } } private System.Decimal? _Number; /// /// 数量 /// [SugarColumn(ColumnName = "number")] public System.Decimal? Number { get { return this._Number; } set { this._Number = value; } } private System.Decimal? _Iva; /// /// iva /// [SugarColumn(ColumnName = "iva")] public System.Decimal? Iva { get { return this._Iva; } set { this._Iva = value; } } private System.Decimal? _Req; /// /// req /// [SugarColumn(ColumnName = "req")] public System.Decimal? Req { get { return this._Req; } set { this._Req = value; } } private System.Int32? _IvaId; /// /// iva_id /// [SugarColumn(ColumnName = "iva_id")] public System.Int32? IvaId { get { return this._IvaId; } set { this._IvaId = value; } } private System.Decimal? _Discount; /// /// 折扣 /// [SugarColumn(ColumnName = "discount")] public System.Decimal? Discount { get { return this._Discount; } set { this._Discount = value; } } private System.Boolean? _IsProhibitedChangeDiscount; /// /// 是否禁止更改折扣:1 是 0 否 /// [SugarColumn(ColumnName = "is_prohibited_change_discount")] public System.Boolean? IsProhibitedChangeDiscount { get { return this._IsProhibitedChangeDiscount; } set { this._IsProhibitedChangeDiscount = value; } } private System.Decimal? _CostPrice; /// /// 成本价 /// [SugarColumn(ColumnName = "cost_price")] public System.Decimal? CostPrice { get { return this._CostPrice; } set { this._CostPrice = value; } } private System.String _Commentary; /// /// 批注 /// [SugarColumn(ColumnName = "commentary")] public System.String Commentary { get { return this._Commentary; } set { this._Commentary = value; } } private System.Boolean? _IsTemporary; /// /// 是否是临时的:1 是 0 否 /// [SugarColumn(ColumnName = "is_temporary")] public System.Boolean? IsTemporary { get { return this._IsTemporary; } set { this._IsTemporary = value; } } private System.Int32? _OrderId; /// /// 订单id /// [SugarColumn(ColumnName = "order_id")] public System.Int32? OrderId { get { return this._OrderId; } set { this._OrderId = value; } } private System.Decimal? _PackageAmount; /// /// 包装数量(包数) /// [SugarColumn(ColumnName = "package_amount")] public System.Decimal? PackageAmount { get { return this._PackageAmount; } set { this._PackageAmount = value; } } private System.Decimal? _Total; /// /// 合计 /// [SugarColumn(ColumnName = "total")] public System.Decimal? Total { get { return this._Total; } set { this._Total = value; } } private System.String _Remark; /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public System.String Remark { get { return this._Remark; } set { this._Remark = value; } } private System.String _DelFlag; /// /// 删除标记:1 删除 0 未删除 /// [SugarColumn(ColumnName = "del_flag")] public System.String DelFlag { get { return this._DelFlag; } set { this._DelFlag = value; } } private System.String _UnitName; /// /// 单位名称 /// [SugarColumn(ColumnName = "unit_name")] public System.String UnitName { get { return this._UnitName; } set { this._UnitName = value; } } private System.String _PurchaseSpec; /// /// 进货规格 /// [SugarColumn(ColumnName = "purchase_spec")] public System.String PurchaseSpec { get { return this._PurchaseSpec; } set { this._PurchaseSpec = value; } } private System.Int32? _GoodsClassId; /// /// 商品类别 /// [SugarColumn(ColumnName = "goods_class_id")] public System.Int32? GoodsClassId { get { return this._GoodsClassId; } set { this._GoodsClassId = value; } } private System.String _GoodsClassName; /// /// 商品类别名称 /// [SugarColumn(ColumnName = "goods_class_name")] public System.String GoodsClassName { get { return this._GoodsClassName; } set { this._GoodsClassName = value; } } private System.Int32? _GoodsBrandId; /// /// 商品品牌 /// [SugarColumn(ColumnName = "goods_brand_id")] public System.Int32? GoodsBrandId { get { return this._GoodsBrandId; } set { this._GoodsBrandId = value; } } private System.String _GoodsBrandName; /// /// 商品品牌名称 /// [SugarColumn(ColumnName = "goods_brand_name")] public System.String GoodsBrandName { get { return this._GoodsBrandName; } set { this._GoodsBrandName = value; } } private System.Int32 _Id; /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, ColumnName = "id")] public System.Int32 Id { get { return this._Id; } set { this._Id = value; } } private System.Int32 _TenantId; /// /// 所属租户id /// [SugarColumn(ColumnName = "tenant_id")] public System.Int32 TenantId { get { return this._TenantId; } set { this._TenantId = value; } } [SugarColumn(IsIgnore = true)] public int Index { get; set; } } public class ViewModelOrderAlbaranDetail: EOrderAlbaranDetail { } }