All checks were successful
Build and Deploy / deploy (push) Successful in 1m22s
新增合同与付款申请全链路 API、审批接入及迁移脚本;抬头列表附带客户信息便于管理端展示。 Co-authored-by: Cursor <cursoragent@cursor.com>
146 lines
3.4 KiB
C#
146 lines
3.4 KiB
C#
namespace Oms.Application.Dtos.Finance;
|
||
|
||
/// <summary>供应商列表查询。</summary>
|
||
public class FinanceSupplierListInput
|
||
{
|
||
/// <summary>关键词:编码/名称。</summary>
|
||
public string? Keyword { get; set; }
|
||
|
||
/// <summary>状态:1 停用 / 2 启用;空=全部。</summary>
|
||
public byte? Status { get; set; }
|
||
|
||
public int Page { get; set; } = 1;
|
||
|
||
public int PageSize { get; set; } = 50;
|
||
}
|
||
|
||
/// <summary>供应商保存。</summary>
|
||
public class FinanceSupplierSaveInput
|
||
{
|
||
public int? Id { get; set; }
|
||
|
||
/// <summary>编码;新建必填。</summary>
|
||
public string SupplierCode { get; set; } = string.Empty;
|
||
|
||
public string SupplierName { get; set; } = string.Empty;
|
||
|
||
public string? ContactName { get; set; }
|
||
|
||
public string? Phone { get; set; }
|
||
|
||
public string? Email { get; set; }
|
||
|
||
public string? BankAccountName { get; set; }
|
||
|
||
public string? BankName { get; set; }
|
||
|
||
public string? BankAccountNo { get; set; }
|
||
|
||
public string? Currency { get; set; }
|
||
|
||
/// <summary>1 停用 / 2 启用。</summary>
|
||
public byte? Status { get; set; }
|
||
|
||
public string? Remark { get; set; }
|
||
}
|
||
|
||
/// <summary>供应商输出。</summary>
|
||
public class FinanceSupplierOutput
|
||
{
|
||
public int Id { get; set; }
|
||
|
||
public string SupplierCode { get; set; } = string.Empty;
|
||
|
||
public string SupplierName { get; set; } = string.Empty;
|
||
|
||
public string? ContactName { get; set; }
|
||
|
||
public string? Phone { get; set; }
|
||
|
||
public string? Email { get; set; }
|
||
|
||
public string? BankAccountName { get; set; }
|
||
|
||
public string? BankName { get; set; }
|
||
|
||
public string? BankAccountNo { get; set; }
|
||
|
||
public string Currency { get; set; } = "CNY";
|
||
|
||
public byte Status { get; set; }
|
||
|
||
public string? Remark { get; set; }
|
||
|
||
public DateTime CreateTime { get; set; }
|
||
|
||
public DateTime? UpdateTime { get; set; }
|
||
}
|
||
|
||
/// <summary>供应商删除。</summary>
|
||
public class FinanceSupplierDeleteInput
|
||
{
|
||
public int Id { get; set; }
|
||
}
|
||
|
||
/// <summary>公司账户列表查询。</summary>
|
||
public class FinanceCompanyAccountListInput
|
||
{
|
||
public string? Keyword { get; set; }
|
||
|
||
public byte? Status { get; set; }
|
||
|
||
public int Page { get; set; } = 1;
|
||
|
||
public int PageSize { get; set; } = 50;
|
||
}
|
||
|
||
/// <summary>公司账户保存。</summary>
|
||
public class FinanceCompanyAccountSaveInput
|
||
{
|
||
public int? Id { get; set; }
|
||
|
||
public string AccountName { get; set; } = string.Empty;
|
||
|
||
public string BankName { get; set; } = string.Empty;
|
||
|
||
public string AccountNo { get; set; } = string.Empty;
|
||
|
||
public string? Currency { get; set; }
|
||
|
||
public bool IsDefault { get; set; }
|
||
|
||
public byte? Status { get; set; }
|
||
|
||
public string? Remark { get; set; }
|
||
}
|
||
|
||
/// <summary>公司账户输出。</summary>
|
||
public class FinanceCompanyAccountOutput
|
||
{
|
||
public int Id { get; set; }
|
||
|
||
public string AccountName { get; set; } = string.Empty;
|
||
|
||
public string BankName { get; set; } = string.Empty;
|
||
|
||
public string AccountNo { get; set; } = string.Empty;
|
||
|
||
public string Currency { get; set; } = "CNY";
|
||
|
||
public bool IsDefault { get; set; }
|
||
|
||
public byte Status { get; set; }
|
||
|
||
public string? Remark { get; set; }
|
||
|
||
public DateTime CreateTime { get; set; }
|
||
|
||
public DateTime? UpdateTime { get; set; }
|
||
}
|
||
|
||
/// <summary>公司账户删除。</summary>
|
||
public class FinanceCompanyAccountDeleteInput
|
||
{
|
||
public int Id { get; set; }
|
||
}
|