using OASystem.Domain.Entities.Groups;
using SqlSugar.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.Groups
{
public class CarTouristCreditCardPaymentView
{
///
/// 支付方式
///
public int PayDId { get; set; }
///
/// 支付方式
///
public string PayName { get; set; }
///
/// 付款金额
///
public decimal PayMoney { get; set; }
///
/// 付款币种 数据类型Id
///
public int PaymentCurrency { get; set; }
///
/// 付款币种 文本
///
public string PaymentCurrencyName { get; set; }
///
/// 此次付款百分比
///
public decimal PayPercentage { get; set; }
///
/// 收款方
///
public string Payee { get; set; }
///
/// 费用标识
///
public int OrbitalPrivateTransfer { get; set; }
///
/// 费用标识文本
///
public string OrbitalPrivateTransferStr { get; set; }
///
/// GM是否审核
///
public int IsAuditGM { get; set; }
public string ConsumptionPatterns { get; set; } // 消费方式
public int Ctdid { get; set; } // 卡类型
public string BankNo { get; set; } // 银行卡号
public string CardholderName { get; set; } // 持卡人姓名
public string ConsumptionDate { get; set; } // 消费日期
public string CompanyBankNo { get; set; } // 公司银行账号
public string OtherBankName { get; set; } // 对方开户行
public string OtherSideNo { get; set; } // 对方银行卡号
public string OtherSideName { get; set; } // 对方姓名
}
public class CarTouristGuideGroundReservationsContentView
{
public int Id { get; set; }
///
/// 费用项目明细Id
///
public int SId { get; set; }
///
/// 费用项目明细
///
public string SidName { get; set; }
///
/// 金额
///
public decimal Price { get; set; }
///
/// 费用明细
///
public string PriceContent { get; set; }
///
/// 费用日期
///
public DateTime? DatePrice { get; set; }
///
/// 数量
///
public int Count { get; set; }
///
/// 单位
///
public int Units { get; set; }
}
public class Grp_CarTouristGuideGroundReservationsContentExtend: Grp_CarTouristGuideGroundReservationsContent
{
public string SidName { get; set; }
public string DataPriceStr { get {
return this.DatePrice.ObjToDate().ToString("M月d日");
} }
public decimal Subtotal { get {
return this.Count * this.Price;
} }
}
public class CarCompare
{
public int Sid { get; set; }
public DateTime DataPrice { get; set; }
}
}