using SqlSugar; namespace HONORCSData.Order { /// /// 出库单/入库单 /// /// [SugarTable("order_albaran")] public class EOrderAlbaran { /// /// 出库单/入库单 /// public EOrderAlbaran() { } private System.Int32 _AlbaranId; /// /// 主键id /// [SugarColumn(IsPrimaryKey =true, ColumnName = "albaran_id")] public System.Int32 AlbaranId { get { return this._AlbaranId; } set { this._AlbaranId = value; } } private System.Int32? _ServerAccountId; /// /// 服务器端账户id /// [SugarColumn(ColumnName = "server_account_id")] public System.Int32? ServerAccountId { get { return this._ServerAccountId; } set { this._ServerAccountId = value; } } private System.String _ClientNo; /// /// 客户/供应商ID /// [SugarColumn(ColumnName = "client_no")] public System.String ClientNo { get { return this._ClientNo; } set { this._ClientNo = value; } } private System.Boolean? _IsClientWithoutIva; /// /// 客户是否不含iva:1 含 0 不含 /// [SugarColumn(ColumnName = "is_client_without_iva")] public System.Boolean? IsClientWithoutIva { get { return this._IsClientWithoutIva; } set { this._IsClientWithoutIva = value; } } private System.Boolean? _IsClientWithoutIvaAndIvaInclude; /// /// ClienteSinIVA的IVAIncluido是否勾选:1 是 0 否 /// [SugarColumn(ColumnName = "is_client_without_iva_and_iva_include")] public System.Boolean? IsClientWithoutIvaAndIvaInclude { get { return this._IsClientWithoutIvaAndIvaInclude; } set { this._IsClientWithoutIvaAndIvaInclude = value; } } private System.Boolean? _IsClientReq; /// /// 客户是否有REQ:1 是 0 否 /// [SugarColumn(ColumnName = "is_client_req")] public System.Boolean? IsClientReq { get { return this._IsClientReq; } set { this._IsClientReq = value; } } private System.Boolean? _IsClientReqAndReqInclude; /// /// ClienteREQ的req_include是否勾选:1 是 0 否 /// [SugarColumn(ColumnName = "is_client_req_and_req_include")] public System.Boolean? IsClientReqAndReqInclude { get { return this._IsClientReqAndReqInclude; } set { this._IsClientReqAndReqInclude = value; } } private System.Decimal? _Discount; /// /// 折扣 /// [SugarColumn(ColumnName = "discount")] public System.Decimal? Discount { get { return this._Discount; } set { this._Discount = value; } } private System.Decimal? _DirectDiscount; /// /// 直接折扣 /// [SugarColumn(ColumnName = "direct_discount")] public System.Decimal? DirectDiscount { get { return this._DirectDiscount; } set { this._DirectDiscount = value; } } private System.Int16? _IvaRule; /// /// iva规则(id) /// [SugarColumn(ColumnName = "iva_rule")] public System.Int16? IvaRule { get { return this._IvaRule; } set { this._IvaRule = 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.Int16? _UsePrice; /// /// 使用价格:1 零售价 2 会员价 3 进货价 /// [SugarColumn(ColumnName = "use_price")] public System.Int16? UsePrice { get { return this._UsePrice; } set { this._UsePrice = value; } } private System.Decimal? _Total; /// /// 共计 /// [SugarColumn(ColumnName = "total")] public System.Decimal? Total { get { return this._Total; } set { this._Total = value; } } private System.Decimal? _TotalDiscount; /// /// 折扣总计 /// [SugarColumn(ColumnName = "total_discount")] public System.Decimal? TotalDiscount { get { return this._TotalDiscount; } set { this._TotalDiscount = value; } } private System.Decimal? _TotalVale; /// /// vale代金券总计 /// [SugarColumn(ColumnName = "total_vale")] public System.Decimal? TotalVale { get { return this._TotalVale; } set { this._TotalVale = value; } } private System.Decimal? _Profit; /// /// 利润 /// [SugarColumn(ColumnName = "profit")] public System.Decimal? Profit { get { return this._Profit; } set { this._Profit = value; } } private System.Decimal? _TotalNumber; /// /// 总数量 /// [SugarColumn(ColumnName = "total_number")] public System.Decimal? TotalNumber { get { return this._TotalNumber; } set { this._TotalNumber = value; } } private System.Decimal? _TotalCash; /// /// 总现金 /// [SugarColumn(ColumnName = "total_cash")] public System.Decimal? TotalCash { get { return this._TotalCash; } set { this._TotalCash = value; } } private System.DateTime? _AlbaranDate; /// /// albaran日期 /// [SugarColumn(ColumnName = "albaran_date")] public System.DateTime? AlbaranDate { get { return this._AlbaranDate; } set { this._AlbaranDate = value; } } private System.DateTime? _EntryTime; /// /// 录入时间 /// [SugarColumn(ColumnName = "entry_time")] public System.DateTime? EntryTime { get { return this._EntryTime; } set { this._EntryTime = value; } } private System.String _OriginDocType; /// /// 原始文件类型 /// [SugarColumn(ColumnName = "origin_doc_type")] public System.String OriginDocType { get { return this._OriginDocType; } set { this._OriginDocType = value; } } private System.Int32? _OriginDocId; /// /// 原始文件编号 /// [SugarColumn(ColumnName = "origin_doc_id")] public System.Int32? OriginDocId { get { return this._OriginDocId; } set { this._OriginDocId = value; } } private System.String _DestinationDocType; /// /// 目的文件类型 /// [SugarColumn(ColumnName = "destination_doc_type")] public System.String DestinationDocType { get { return this._DestinationDocType; } set { this._DestinationDocType = value; } } private System.Int32? _DestinationDocId; /// /// 目的文件编号 /// [SugarColumn(ColumnName = "destination_doc_id")] public System.Int32? DestinationDocId { get { return this._DestinationDocId; } set { this._DestinationDocId = value; } } private System.Int16? _ChargeType; /// /// 收费类型 /// [SugarColumn(ColumnName = "charge_type")] public System.Int16? ChargeType { get { return this._ChargeType; } set { this._ChargeType = value; } } private System.Decimal? _Cash; /// /// 收费类型 /// [SugarColumn(ColumnName = "cash")] public System.Decimal? Cash { get { return this._Cash; } set { this._Cash = value; } } private System.Int32? _AgentId; /// /// 代理商id /// [SugarColumn(ColumnName = "agent_id")] public System.Int32? AgentId { get { return this._AgentId; } set { this._AgentId = value; } } private System.Int32? _TransporterId; /// /// 运输商ID /// [SugarColumn(ColumnName = "transporter_id")] public System.Int32? TransporterId { get { return this._TransporterId; } set { this._TransporterId = value; } } private System.String _CarNo; /// /// 车牌号 /// [SugarColumn(ColumnName = "car_no")] public System.String CarNo { get { return this._CarNo; } set { this._CarNo = value; } } private System.Int32? _Operator; /// /// 操作员编号 /// [SugarColumn(ColumnName = "operator")] public System.Int32? Operator { get { return this._Operator; } set { this._Operator = value; } } private System.Int32? _Verifier; /// /// 审核员编号 /// [SugarColumn(ColumnName = "verifier")] public System.Int32? Verifier { get { return this._Verifier; } set { this._Verifier = value; } } private System.Int32? _StorehouseId; /// /// 仓库id /// [SugarColumn(ColumnName = "storehouse_id")] public System.Int32? StorehouseId { get { return this._StorehouseId; } set { this._StorehouseId = value; } } private System.String _AttachedDocSymbol; /// /// 附加文件符号 /// [SugarColumn(ColumnName = "attached_doc_symbol")] public System.String AttachedDocSymbol { get { return this._AttachedDocSymbol; } set { this._AttachedDocSymbol = value; } } private System.Int32? _PrePaymentMethod; /// /// 预付款方式 /// [SugarColumn(ColumnName = "pre_payment_method")] public System.Int32? PrePaymentMethod { get { return this._PrePaymentMethod; } set { this._PrePaymentMethod = value; } } private System.String _ComputerName; /// /// 计算机名称 /// [SugarColumn(ColumnName = "computer_name")] public System.String ComputerName { get { return this._ComputerName; } set { this._ComputerName = value; } } private System.String _Hash; /// /// 哈希 /// [SugarColumn(ColumnName = "hash")] public System.String Hash { get { return this._Hash; } set { this._Hash = value; } } private System.Int32? _CifId; /// /// cif_id(到岸编号) /// [SugarColumn(ColumnName = "cif_id")] public System.Int32? CifId { get { return this._CifId; } set { this._CifId = value; } } private System.String _SubStoreId; /// /// 子商店编号 /// [SugarColumn(ColumnName = "sub_store_id")] public System.String SubStoreId { get { return this._SubStoreId; } set { this._SubStoreId = value; } } private System.Decimal? _AbonoTotal; /// /// abono总计 /// [SugarColumn(ColumnName = "abono_total")] public System.Decimal? AbonoTotal { get { return this._AbonoTotal; } set { this._AbonoTotal = value; } } private System.Decimal? _PaymentTotal; /// /// 付款总计 /// [SugarColumn(ColumnName = "payment_total")] public System.Decimal? PaymentTotal { get { return this._PaymentTotal; } set { this._PaymentTotal = value; } } private System.Boolean? _IsCharged; /// /// 是否已收款:1 是 0 否 /// [SugarColumn(ColumnName = "is_charged")] public System.Boolean? IsCharged { get { return this._IsCharged; } set { this._IsCharged = value; } } private System.Boolean? _IsLock; /// /// 是否锁定:1 是 0 否 /// [SugarColumn(ColumnName = "is_lock")] public System.Boolean? IsLock { get { return this._IsLock; } set { this._IsLock = value; } } private System.Boolean? _IsCanceled; /// /// 是否取消:1 是 0 否 /// [SugarColumn(ColumnName = "is_canceled")] public System.Boolean? IsCanceled { get { return this._IsCanceled; } set { this._IsCanceled = value; } } private System.String _IsModify; /// /// 是否修改:1 是 0 否 /// [SugarColumn(ColumnName = "is_modify")] public System.String IsModify { get { return this._IsModify; } set { this._IsModify = value; } } private System.Boolean? _IsSendEmail; /// /// 是否发送电子邮件:1 是 0 否 /// [SugarColumn(ColumnName = "is_send_email")] public System.Boolean? IsSendEmail { get { return this._IsSendEmail; } set { this._IsSendEmail = value; } } private System.String _Remark; /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public System.String Remark { get { return this._Remark; } set { this._Remark = value; } } private System.String _AlbaranNo; /// /// 订单编号 /// [SugarColumn(ColumnName = "albaran_no")] public System.String AlbaranNo { get { return this._AlbaranNo; } set { this._AlbaranNo = value; } } private System.Int16? _AlbaranType; /// /// 订单类型:1 入库 2 出库 /// [SugarColumn(ColumnName = "albaran_type")] public System.Int16? AlbaranType { get { return this._AlbaranType; } set { this._AlbaranType = value; } } private System.Int32? _CreateTime; /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public System.Int32? CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } } private System.Int32? _UpdateTime; /// /// 修改时间 /// [SugarColumn(ColumnName = "update_time")] public System.Int32? UpdateTime { get { return this._UpdateTime; } set { this._UpdateTime = value; } } private System.String _VerifyStatus; /// /// albaran(入库/出库单)审核状态:1 审核 0 未审核 /// [SugarColumn(ColumnName = "verify_status")] public System.String VerifyStatus { get { return this._VerifyStatus; } set { this._VerifyStatus = value; } } private System.Int32? _VerifyTime; /// /// 审核日期 /// [SugarColumn(ColumnName = "verify_time")] public System.Int32? VerifyTime { get { return this._VerifyTime; } set { this._VerifyTime = value; } } private System.Int32? _PurchaseReceiveId; /// /// 采购收货订单Id /// [SugarColumn(ColumnName = "purchase_receive_id")] public System.Int32? PurchaseReceiveId { get { return this._PurchaseReceiveId; } set { this._PurchaseReceiveId = 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.Int32 _TenantId; /// /// 所属租户 /// [SugarColumn(ColumnName = "tenant_id")] public System.Int32 TenantId { get { return this._TenantId; } set { this._TenantId = value; } } } }