package com.testor.module.contractor.ledger.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.testor.module.contractor.ledger.model.domain.TContractorProject;
import com.testor.module.contractor.ledger.model.dto.TContractorProjectParam;
import com.tongtech.tfw.backend.common.models.supers.SuperService;

import java.util.List;

/**
 * 项目台账Service接口
 * 
 * @author testor-framework
 * @date 2024-11-20 09:46:08
 */
public interface TContractorProjectService extends SuperService<TContractorProject> {

    /**
     * 生成项目编码
     * @return
     */
    String generateProjectCode();

    /**
     * 新增项目台账
     * @param addRequest
     * @return
     */
    TContractorProject addEntity(TContractorProject addRequest);

    Page<TContractorProject> pageList(TContractorProjectParam param);

    List<TContractorProject> listAllEntity(TContractorProjectParam param);
}
