namespace ZR.Model.MES.wms
{
///
/// 客户账户流水
///
[SugarTable("wms_customer_transaction")]
public class WmsCustomerTransaction
{
public static String ENTER = "11";
public static String EXIT = "22";
public static String SHIPMENT = "33";
///
/// id
///
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 交易编号
///
[SugarColumn(ColumnName = "transaction_code")]
public string TransactionCode { get; set; }
///
/// 用户编号
///
[SugarColumn(ColumnName = "customer_id")]
public string CustomerId { 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 = "shipment_order_id")]
public long? ShipmentOrderId { 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; }
}
}