77 lines
2.5 KiB
C#
77 lines
2.5 KiB
C#
|
|
namespace ZR.Model.MES.wms
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 客户账户流水
|
|||
|
|
///</summary>
|
|||
|
|
[SugarTable("wms_customer_transaction")]
|
|||
|
|
public class WmsCustomerTransaction
|
|||
|
|
{
|
|||
|
|
public static String ENTER = "11";
|
|||
|
|
public static String EXIT = "22";
|
|||
|
|
public static String SHIPMENT = "33";
|
|||
|
|
/// <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 = "customer_id")]
|
|||
|
|
public string CustomerId { 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 = "shipment_order_id")]
|
|||
|
|
public long? ShipmentOrderId { 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; }
|
|||
|
|
}
|
|||
|
|
}
|