Commit 6d4d313f by lcx

新增划拨功能控制器

parent 83d93f53
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
[Route("api/costtransfer")]
public class CostTransferController : Controller
{
public ApiResponse SubmitApplications()
{
return new ApiResponse(ResponseType.OK);
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
public class CostTransferItemRequest
{
public string Category { get; set; }
public string Source { get; set; }
public decimal? Ratio { get; set; }
public decimal? Amount { get; set; }
public decimal? CalculationAmount { get; set; }
public bool IsUseRatio { get; set; }
public string Remark { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
public class CostTransferRequest
{
public Department Applicant { get; set; }
public Department Adopted { get; set; }
public List<CostTransferItemRequest> Items { get; set; }
}
public class Department
{
public string UnitType { get; set; }
public string AccountingUnit { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment