You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
483 B
C#
18 lines
483 B
C#
using System.Collections.Generic;
|
|
using CncModels.Entity;
|
|
|
|
namespace CncRepository.Interface
|
|
{
|
|
/// <summary>
|
|
/// 工人-机床绑定仓储接口
|
|
/// </summary>
|
|
public interface IWorkerMachineRepository
|
|
{
|
|
WorkerMachine GetByMachineId(int machineId);
|
|
List<WorkerMachine> GetByWorkerId(int workerId);
|
|
int Create(int workerId, int machineId);
|
|
bool DeleteByMachineId(int machineId);
|
|
bool DeleteByWorkerId(int workerId);
|
|
}
|
|
}
|