using Znyc.CloudCar.Model.Dtos.Equipment;
using Znyc.CloudCar.Model.ViewModels.ReportsCallBack;
namespace Znyc.CloudCar.IServices.Equipment
{
///
/// 设备信息服务
///
public interface IEquipmentService
{
///
/// 新增设备信息
///
///
///
Task AddAsync(EquipmentAddInput input);
///
/// 编辑设备信息
///
///
///
Task UpdateAsync(EquipmentUpdateInput input);
///
/// 根据Id获取设备信息
///
///
///
Task GetAsync(long id);
///
/// 分页查询设备列表
///
///
///
///
///
///
///
///
Task PageAsync(string? key, long categoryId,
long brandId, long yearId, int currentPage, int pageSize);
///
/// 刷新设备信息
///
///
///
Task RefreshAsync(long id);
///
/// 置顶设备信息
///
///
///
Task TopAsync(long id);
///
/// 取消置顶设备信息
///
///
Task CancelTopAsync();
///
/// 更改设备信息状态
///
///
/// 招聘状态
///
Task UpdateStateAsync(long id, int state);
///
/// 是否公开设备信息
///
///
///
///
Task IsPublicAsync(long id, bool isPublic);
///
/// 获取手机号码
///
///
///
Task GetPhoneAsync(long id);
///
/// 同步浏览量
///
///
Task PageViewAsync();
///
/// 我的设备信息
///
///
///
///
///
Task MyEquipmentPageAsync(
int state, int currentPage, int pageSize);
///
/// 根据UserId查询设备信息
///
///
///
///
///
Task GetEquipmentByUserIdAsync(long userId, int currentPage, int pageSize);
Task GetLastEquipmentAsync();
}
}