using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Entities.Groups
{
///
/// 付款信息表
///
[SugarTable("Grp_CreditCardPayment")]
public class Grp_CreditCardPayment:EntityBase
{
///
/// 团组外键编号
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int DIId { get; set; }
///
/// 指向表外键编号
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int CId { get; set; }
///
/// 指向标识 设置数据外键编号
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int CTable { get; set; }
///
/// 支付方式
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int PayDId { get; set; } = 0;
///
/// 消费方式
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
public string ConsumptionPatterns { get; set; }
///
/// 消费日期
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
public string ConsumptionDate { get; set; }
///
/// 卡类型
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int CTDId { get; set; }
///
/// 银行卡号
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
public string BankNo { get; set; }
///
/// 持卡人姓名
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
public string CardholderName { get; set; }
///
/// 付款金额
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
public decimal PayMoney { get; set; }
///
/// 付款币种 数据类型Id
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int PaymentCurrency { get; set; }
///
/// 当天汇率
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
public decimal DayRate { get; set; }
///
/// 公司银行卡号
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
public string CompanyBankNo { get; set; }
///
/// 对方开户行
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
public string OtherBankName { get; set; }
///
/// 对方银行账号
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
public string OtherSideNo { get; set; }
///
/// 对方姓名
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
public string OtherSideName { get; set; }
///
/// 财务操作人 用户Id
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int MFOperator { get; set; }
///
/// 财务操作时间
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
public string MFOperatorDate { get; set; }
///
/// 部门经理是否审核 0否1是
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsAuditDM { get; set; }
///
/// 部门经理审核人 用户Id
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int AuditDMOperate { get; set; }
///
/// 部门经理审核时间
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
public string AuditDMDate { get; set; }
///
/// 财务部是否审核 0否1是
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsAuditMF { get; set; }
///
/// 财务部审核人
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int AuditMFOperate { get; set; }
///
/// 财务部审核时间
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
public string AuditMFDate { get; set; }
///
/// 总经理是否审核 0 未审核 1已通过 2未通过 3 自动审核
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsAuditGM { get; set; }
///
/// 总经理审核人
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int AuditGMOperate { get; set; }
///
/// 总经理审核时间
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
public string AuditGMDate { get; set; }
///
/// 是否付款 0 否 1 是
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsPay { get; set; }
///
/// 此次付款百分比
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
public decimal PayPercentage { get; set; } = 100M;
///
/// 此次付款金额
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
public decimal PayThenMoney { get; set; }
///
/// 上次付款百分比
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
public decimal PayPercentageOld { get; set; }
///
/// 上次付款金额
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
public decimal PayThenMoneyOld { get; set; }
///
/// 上次付款时间
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
public string UpdateDate { get; set; }
///
/// 收款方
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(255)")]
public string Payee { get; set; }
///
/// 人民币费用
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
public decimal RMBPrice { get; set; }
///
/// 费用标识
/// 0 公转 1 私转
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int OrbitalPrivateTransfer { get; set; }
///
/// 超出预算比例
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
public decimal ExceedBudget { get; set; }
///
/// 是否匹配上了信用卡账单
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public decimal IsMatchCreditCard { get; set; }
}
}