package com.yem.wm.bd.mechanical.op;

import com.yem.wm.bd.mechanical.validator.MechanicalValidator;
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
import kd.bos.entity.plugin.AddValidatorsEventArgs;
import kd.bos.entity.plugin.PreparePropertysEventArgs;

import java.util.List;

/**
 * @author ljw
 * @date 2024/4/25 20:35
 * @description MechanicalDeleteOp
 * 刪除单效验
 */
public class MechanicalDeleteOp extends AbstractOperationServicePlugIn {
    @Override
    public void onAddValidators(AddValidatorsEventArgs e) {
        super.onAddValidators(e);
        e.addValidator(new MechanicalValidator());
    }

}
