/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.pig.codegen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.codegen.entity.GenTableColumnEntity;

import java.util.List;

/**
 * 代码生成表列服务接口
 *
 * @author lengleng
 * @date 2025/05/31
 */
public interface GenTableColumnService extends IService<GenTableColumnEntity> {

	/**
	 * 初始化字段列表
	 * @param tableFieldList 表字段实体列表
	 */
	void initFieldList(List<GenTableColumnEntity> tableFieldList);

	/**
	 * 更新表字段信息
	 * @param dsName 数据源名称
	 * @param tableName 表名
	 * @param tableFieldList 表字段列表
	 */
	void updateTableField(String dsName, String tableName, List<GenTableColumnEntity> tableFieldList);

}
