临时提交3

This commit is contained in:
2025-07-19 11:11:01 +08:00
parent 01fe2e14ef
commit ca67d2e6df
117 changed files with 476 additions and 910 deletions

View File

@@ -0,0 +1,15 @@
using DMS.Core.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DMS.Infrastructure.Interfaces
{
public interface IMqttRepository
{
Task<Mqtt> GetByIdAsync(int id);
Task<List<Mqtt>> GetAllAsync();
Task<int> AddAsync(Mqtt mqtt);
Task<int> UpdateAsync(Mqtt mqtt);
Task<int> DeleteAsync(Mqtt mqtt);
}
}