123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460 |
- using OASystem.Domain.Entities.Financial;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.ViewModels.Financial
- {
- /// <summary>
- /// 团组应收款项 View
- /// </summary>
- public class Fin_ForeignReceivablesView : Fin_ForeignReceivables
- {
- }
- /// <summary>
- /// 团组应收款项 info View
- /// </summary>
- public class ForeignReceivablesInfoView
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 团组Id
- /// </summary>
- public int Diid { get; set; }
- /// <summary>
- /// 费用名称
- /// </summary>
- public string? PriceName { get; set; }
- /// <summary>
- /// 费用
- /// </summary>
- public decimal Price { get; set; }
- /// <summary>
- /// 数量
- /// </summary>
- public int Count { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- public string? Unit { get; set; }
- /// <summary>
- /// 单项总和
- /// </summary>
- public decimal ItemSumPrice { get; set; }
- /// <summary>
- /// 付款方
- /// </summary>
- public string? To { get; set; }
- /// <summary>
- /// 付款方电话
- /// </summary>
- public string? ToTel { get; set; }
- /// <summary>
- /// 付款日期
- /// </summary>
- public string? PayDate { get; set; }
- /// <summary>
- /// 付款注意事项
- /// </summary>
- public string? Attention { get; set; }
- /// <summary>
- /// 汇率
- /// </summary>
- public decimal Rate { get; set; }
- /// <summary>
- /// 币种
- /// </summary>
- public int Currency { get; set; }
- /// <summary>
- /// 添加方式
- /// 0 - 账单页面添加 1 - 预算成本页面添加
- /// </summary>
- public int AddingWay { get; set; }
- /// <summary>
- /// 添加方式描述
- /// </summary>
- public string? AddingModeName
- {
- get
- {
- string str = "";
- if (AddingWay == 0) str = "账单模块";
- else if (AddingWay == 1) str = "成本预算模块";
- return str;
- }
- }
- /// <summary>
- /// 备注
- /// </summary>
- public string? Remark { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- public DateTime? CreateTime { get; set; }
- }
- /// <summary>
- /// 团组应收款项 含已收款项
- /// </summary>
- public class ForeignReceivablesView : ForeignReceivablesInfoView
- {
- /// <summary>
- /// 对应收款账单Id
- /// 已收款项 信息
- /// </summary>
- public List<ProceedsReceivedView>? _ProceedsReceivedDatas { get; set; }
- }
- #region 不关联已收账单
- /// <summary>
- /// 团组已收款项Info View
- /// </summary>
- public class ProceedsReceivedNewView
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 团组Id
- /// </summary>
- public int Diid { get; set; }
- /// <summary>
- /// 费用名称
- /// </summary>
- public string? PriceName { get; set; }
- /// <summary>
- /// 费用
- /// </summary>
- public decimal Price { get; set; }
- /// <summary>
- /// 数量
- /// </summary>
- public int Count { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- public string? Unit { get; set; }
- /// <summary>
- /// 单项总和
- /// </summary>
- public decimal ItemSumPrice { get; set; }
- /// <summary>
- /// 付款方
- /// </summary>
- public string? To { get; set; }
- /// <summary>
- /// 付款方电话
- /// </summary>
- public string? ToTel { get; set; }
- /// <summary>
- /// 付款日期
- /// </summary>
- public string? PayDate { get; set; }
- /// <summary>
- /// 付款注意事项
- /// </summary>
- public string? Attention { get; set; }
- /// <summary>
- /// 汇率
- /// </summary>
- public decimal Rate { get; set; }
- /// <summary>
- /// 币种
- /// </summary>
- public int Currency { get; set; }
- /// <summary>
- /// 币种Str
- /// </summary>
- public string CurrencyStr { get; set; }
- /// <summary>
- /// 添加方式
- /// 0 - 账单模块 1 - 预算成本页面添加
- /// </summary>
- public int AddingWay { get; set; }
- /// <summary>
- /// 添加方式描述
- /// </summary>
- public string? AddingModeName
- {
- get
- {
- string str = "";
- if (AddingWay == 0) str = "账单模块";
- else if (AddingWay == 1) str = "成本预算模块";
- else if (AddingWay == 2) str = "实际报价";
- return str;
- }
- }
- public int IsAudit { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- public string? Remark { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- public DateTime? CreateTime { get; set; }
- public int Status { get; set; }
- public string AuditorName { get; set; }
- public string AuditTime { get; set; }
- }
- #endregion
- #region 应收报表
- public class Excel_SyntheticalReceivableByDateRange{
- public string No { get; set; }
- /// <summary>
- /// 团组名称
- /// </summary>
- public string TeamName { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- public string ClientUnit { get; set; }
- /// <summary>
- /// 出访时间
- /// </summary>
- public string VisitDate { get; set; }
- /// <summary>
- /// 应收
- /// </summary>
- public string Accounts { get; set; }
- /// <summary>
- /// 超支
- /// </summary>
- public string Extra { get; set; }
- /// <summary>
- /// 应收总计(应收+超支)
- /// </summary>
- public string ReceivableTotal { get; set; }
- /// <summary>
- /// 已收
- /// </summary>
- public string Received { get; set; }
- /// <summary>
- /// 收款退还
- /// </summary>
- public string RefundAmount { get; set; }
- /// <summary>
- /// 已收合计(已收 - 收款退还)
- /// </summary>
- public string ReceivedTotal { get; set; }
- /// <summary>
- /// 余款
- /// </summary>
- public string Balance { get; set; }
- /// <summary>
- /// 收款进度
- /// </summary>
- public string Collection { get; set; }
- public string Sign { get; set; }
- }
- public class PostSyntheticalReceivableByDateRangeResultView
- {
- public string total_fr { get; set; }
- public string total_pr { get; set; }
- public string total_balance { get; set; }
- public List<PostSyntheticalReceivableByDateRangeView> dataList { get; set; }
- }
- public class PostSyntheticalReceivableByDateRangeView
- {
- public int No { get; set; }
- /// <summary>
- /// 团组Id
- /// </summary>
- public int diid { get; set; }
- /// <summary>
- /// 团组名称
- /// </summary>
- public string teamName { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- public string clientUnit { get; set; }
- /// <summary>
- /// 出访时间
- /// </summary>
- public string visitDate { get; set; }
- /// <summary>
- /// 应收
- /// </summary>
- public string frPrice { get; set; }
- /// <summary>
- /// 超支
- /// </summary>
- public string extraPrice { get; set; }
- /// <summary>
- /// 应收总计(应收+超支)
- /// </summary>
- public string receivableTotal { get; set; }
- /// <summary>
- /// 已收
- /// </summary>
- public string prPrice { get; set; }
- /// <summary>
- /// 退款-->收款退还
- /// </summary>
- public string refundAmount { get; set; }
- /// <summary>
- /// 已收总计(已收-收款退还)
- /// </summary>
- public string receivedTotal { get; set; }
- /// <summary>
- /// 余款(应收 - 已收)
- /// </summary>
- public string balPrice { get; set; }
- /// <summary>
- /// 收款单位
- /// </summary>
- public string prClient { get; set; }
- /// <summary>
- /// 收款进度
- /// </summary>
- public string schedule { get; set; }
- /// <summary>
- /// 子项明细
- /// </summary>
- public List<ClientFeeInfoView>? feeItem { get; set; }
- }
- /// <summary>
- /// 单位应收已收详情 Info View
- /// 新增
- /// 雷怡 2024-01-08 11:01:55
- /// </summary>
- public class ClientFeeInfoView
- {
- /// <summary>
- /// 付款单位
- /// </summary>
- public string client { get; set; }
- /// <summary>
- /// 金额 - 应收
- /// </summary>
- public string frMoney { get; set; }
- /// <summary>
- /// 汇率 - 应收
- /// </summary>
- public string frRate { get; set; }
- /// <summary>
- /// 币种 - 应收
- /// </summary>
- public string frCurrency { get; set; }
- /// <summary>
- /// 付款类型(转账,刷卡等) - 已收
- /// </summary>
- public string prReceivablesType { get; set; }
- /// <summary>
- /// 到款时间 - 已收
- /// </summary>
- public string prTime { get; set; }
- /// <summary>
- /// 付款金额 - 已收
- /// </summary>
- public string prMoney { get; set; }
- /// <summary>
- /// 付款币种 - 已收
- /// </summary>
- public string prCurrency { get; set; }
- /// <summary>
- /// 尾款
- /// </summary>
- public string balPayment { get; set; }
- }
- #endregion
- }
|