package com.zt.plat.module.contractorder.controller.admin.contractorder;

import com.zt.plat.module.contractorder.api.dto.order.PurchaseOrderWithDetailsDTO;
import com.zt.plat.module.contractorder.service.contract.ContractService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;

import com.zt.plat.framework.common.pojo.CommonResult;

import java.util.List;

import static com.zt.plat.framework.common.pojo.CommonResult.success;

/**
 * ContractOrder 控制器
 *
 * @author ZT
 */
@Tag(name = "管理后台 - ContractOrder")
@RestController
@RequestMapping("/admin/contract-order/contract-order")
public class ContractOrderController {

    @Resource
    private ContractService contractService;

    @GetMapping("/hello")
    @Operation(summary = "Hello ContractOrder")
    public CommonResult<String> hello() {
        return success("Hello, ContractOrder!");
    }
}
