using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Abp.Tool.Domain.Shared.Enums;
namespace Yi.Abp.Tool.Application.Contracts.Dtos
{
public class TemplateGenCreateInputDto
{
///
/// 模块名称
///
public string Name { get; set; }
///
/// 模块类型
///
public string ModuleSoure { get; set; }
///
/// 数据库提供者
///
public DbmsEnum Dbms { get; set; }
///
/// 需要替换的字符串内容
///
public Dictionary ReplaceStrData { get; set; }=new Dictionary();
public void SetNameReplace()
{
ReplaceStrData.Add("Yi.Abp", Name);
ReplaceStrData.Add("YiAbp", Name.Replace(".", ""));
}
}
}