using Entity.Base;
using Entity.DbModel.Station;
using Entity.Dto.Req;
using HybirdFrameworkCore.Entity;
using Microsoft.AspNetCore.Mvc;
using Service.Station;
namespace WebStarter.Controllers.Station;
///
/// 充电模式配置
///
[Produces("application/json")]
[ApiController]
public class EquipInfoController
{
private EquipInfoService _equipInfoService;
public EquipInfoController(EquipInfoService equipInfoService)
{
_equipInfoService = equipInfoService;
}
///
/// 充电模式配置分页
///
/// 充电模式分页列表
[HttpPost]
[Route("/api/equipInfo/page")]
public async Task> Page(PageEquipInfoReq input)
{
return await _equipInfoService.Page(input);
}
///
/// 充电模式配置修改
///
/// 修改结果
[HttpPost]
[Route("/api/equipInfo/update")]
public async Task> Update(UpdateEquipInfoReq input)
{
return await _equipInfoService.UpdateEquipInfoReq(input);
}
///
/// 充电模式配置删除
///
/// 删除结果
[HttpPost]
[Route("/api/equipInfo/delete")]
public async Task> Delete(DeleteEquipInfoReq input)
{
return await _equipInfoService.DeleteEquipInfoReq(input);
}
}