All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.herodotus.stirrup.rest.servlet.upms.controller.hr.SysOwnershipController Maven / Gradle / Ivy

The newest version!
/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君),  Licensed under the AGPL License
 *
 * This file is part of Herodotus Stirrup.
 *
 * Herodotus Stirrup is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Herodotus Stirrup is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 */

package cn.herodotus.stirrup.rest.servlet.upms.controller.hr;

import cn.herodotus.stirrup.data.crud.service.JpaWriteableService;
import cn.herodotus.stirrup.logic.upms.entity.hr.SysOwnership;
import cn.herodotus.stirrup.logic.upms.service.hr.SysOwnershipService;
import cn.herodotus.stirrup.web.api.servlet.AbstractJpaWriteableController;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 

Description: 人事归属Controller

* * @author : gengwei.zheng * @date : 2021/7/15 16:36 */ @RestController @RequestMapping("/hr/ownership") @Tag(name = "人事归属管理接口") public class SysOwnershipController extends AbstractJpaWriteableController { private final SysOwnershipService sysOwnershipService; public SysOwnershipController(SysOwnershipService sysOwnershipService) { this.sysOwnershipService = sysOwnershipService; } @Override public JpaWriteableService getWriteableService() { return this.sysOwnershipService; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy