MES-ETL/ConsoleApp2/Options/TasksOptions.cs

25 lines
662 B
C#
Raw Normal View History

2024-01-12 16:50:37 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2.Options
{
public class TableInfo
{
public long SimulaRowCount { get; set; }//模拟的记录条数
}
2024-01-18 14:36:36 +08:00
public class TasksOptions
2024-01-12 16:50:37 +08:00
{
public Dictionary<string, TableInfo> TableInfoConfig { get; set; } = new();
2024-01-18 14:36:36 +08:00
public int TransformTaskCount { get; set; } = 1;
public OutPutOptions OutPutOptions { get; set; }=new();
}
public class OutPutOptions
{
public int FlushCount { get; set; } = 10000;
public int OutPutTaskCount { get; set; } = 2;
2024-01-12 16:50:37 +08:00
}
}