using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
namespace ZR.Model.MES.wms
{
///
/// 供应商账户流水
///
[SugarTable("wms_supplier_transaction")]
public class WmsSupplierTransaction
{
///
/// id
///
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 交易编号
///
[SugarColumn(ColumnName = "transaction_code")]
public string TransactionCode { get; set; }
///
/// 供应商编号
///
[SugarColumn(ColumnName = "supplier_id")]
public string SupplierId { get; set; }
///
/// 交易类型 1:结款 2:应付
///
[SugarColumn(ColumnName = "transaction_type")]
public string TransactionType { get; set; }
///
/// 交易金额
///
[SugarColumn(ColumnName = "transaction_amount")]
public decimal TransactionAmount { get; set; }
///
/// 上期余额
///
[SugarColumn(ColumnName = "previous_balance")]
public decimal PreviousBalance { get; set; }
///
/// 当前余额
///
[SugarColumn(ColumnName = "current_balance")]
public decimal CurrentBalance { get; set; }
///
/// 入库单号
///
[SugarColumn(ColumnName = "receipt_order_id")]
public long? ReceiptOrderId { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
///
/// 删除标志
/// 默认值: 0
///
[SugarColumn(ColumnName = "del_flag")]
public byte DelFlag { get; set; }
///
/// 创建时间
/// 默认值: CURRENT_TIMESTAMP
///
[SugarColumn(ColumnName = "create_time")]
public DateTime CreateTime { get; set; }
///
/// 更新时间
/// 默认值: CURRENT_TIMESTAMP
///
[SugarColumn(ColumnName = "update_time")]
public DateTime UpdateTime { get; set; }
}
}