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