using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Dtos.Financial
{
///
/// 日付申请 dto
///
public class DailyFeePaymentDto
{}
///
/// 日付申请 分页 dto
///
public class PageDailyFeePaymentDto : DtoBase
{
///
/// 费用所属公司
/// -1 全部/未选择
/// 其他Id 公司Id
///
public int CompanyId { get; set; }
///
/// 财务审核状态
/// -1 全部/未选择
/// 0 未审核
/// 1 已审核
/// 2 审核未通过
///
public int FinancialAuditStatus { get; set; }
///
/// 总经理审核状态
/// -1 全部/未选择
/// 0 未审核
/// 1 已审核
/// 2 审核未通过
///
public int ManagerAuditStatus { get; set; }
///
/// 费用类型
/// -1 全部/未选择
/// 其他Id 费用类型Id
///
public int FeeTypeId { get; set; }
///
/// 费用子类
/// -1 全部/未选择
/// 其他Id 费用子类Id
///
public int FeeSubTypeId { get; set; }
///
/// 费用说明
///
public string? FeeDesc { get; set; }
///
/// 申请人Id
/// -1 全部/未选择
/// 其他Id 员工Id
///
public int CreateUserId { get; set; }
///
/// 支付标识 -1:全部 0:未支付 1:已支付
///
public int IsPaySign { get; set; } = -1;
}
///
/// 日付申请 Single Search
///
public class SearchDailyFeePaymentDto : DtoBase
{
///
/// Id
///
public int Id { get; set; }
}
///
/// 日付申请 Add Dto
///
public class AddDailyFeePaymentDto : DtoBase
{
///
/// 员工Id
///
public int UserId { get; set; }
///
/// 申请说明
///
public string? Instructions { get; set; }
///
/// 合计
///
public decimal SumPrice { get; set; }
///
/// 转账表识Id 存储SetDataId
///
public int TransferTypeId { get; set; }
///
/// 费用类型Id 存储SetDataId
///
public int PriceTypeId { get; set; }
///
/// 公司Id
///
public int CompanyId { get; set; }
///
/// 费用明细
///
public List FeeContents { get; set; }
}
///
/// 日付申请内容 Add Dto
///
public class AddDailyFeePaymentContentDto
{
///
/// 费用名称
///
public string? PriceName { get; set; }
///
/// 数量
///
public decimal Quantity { get; set; }
///
/// 单价
///
public decimal Price { get; set; }
///
/// 单项费用合计
///
public decimal ItemTotal { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 日付申请 Edit Dto
///
public class EditDailyFeePaymentDto
{
///
/// Id
///
public int Id { get; set; }
///
/// 员工Id
///
public int UserId { get; set; }
///
/// 申请说明
///
public string? Instructions { get; set; }
///
/// 合计
///
public decimal SumPrice { get; set; }
///
/// 转账表识Id 存储SetDataId
///
public int TransferTypeId { get; set; }
///
/// 费用类型Id 存储SetDataId
///
public int PriceTypeId { get; set; }
///
/// 公司Id
///
public int CompanyId { get; set; }
///
/// 费用明细
///
public List FeeContents { get; set; }
}
public class EditDailyFeePaymentContentDto : AddDailyFeePaymentContentDto
{
///
/// Id
///
public int Id { get; set; }
}
///
/// 日付申请 Del Dto
///
public class DelDailyFeePaymentDto
{
///
/// Id
///
public int Id { get; set; }
///
/// 员工Id
///
public int UserId { get; set; }
}
public class DP_AuditStatusDto
{
public int Id { get; set; }
///
/// 审核类型
/// 1 财务审核
/// 2 总经理审核
///
public int AuditType { get; set; }
///
/// 审核 状态
/// 0 未审核 1 已通过 2 未通过
///
public int AuditStatus { get; set; }
}
}