using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using static TempTask.WebEntry.Tools.NumZjHelper; namespace TempTask.WebEntry.ApiController.Dto { /// /// /// public class DtoInput { } /// /// /// public class NumZjConfig { /// /// /// public List numZjExcels { get; set; } } /// /// /// public class NumZjExcel { /// /// sheet编号 从1开始 /// public ExcelType excel_no { get; set; } /// /// sheet名称 /// public string excel_name { get; set; } /// /// sheet集合 /// public List sheets { get; set; } } /// /// /// public class NumZjConfigSheet { /// /// sheet编号,从1开始 /// public int sheet_no { get; set; } /// /// shee名称 /// public string sheet_name { get; set; } /// /// 开始行数 Excel中行号 /// public int start_row { get; set; } /// /// 空行数 /// public int null_row_count { get; set; } /// /// 开始列字母, A B C /// public string start_cell { get; set; } /// /// 空列数 /// public int null_cell_count { get; set; } /// /// 接口地址 /// public string url { get; set; } /// /// 跳过行 集合 行留空 /// public List skip_rows { get; set; } /// /// 跳过行 集合 行留空 /// public List skip_columns { get; set; } } /// /// /// public class NumZjDownloadInput { /// /// Excel类型 1是总表,2是城市更新,3是房地产业 /// public int type { get; set; } /// /// 年 /// [Required] public int year { get; set; } /// /// 月 /// [Required] public int month { get; set; } /// /// 周 /// [Required] public int week { get; set; } } }