|
|
|
|
using Infrastructure.Excel.Attributes;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Application.Shared.Dtos.Units.Imports
|
|
|
|
|
{
|
|
|
|
|
[TableDto(Name = "工业企业统计表")]
|
|
|
|
|
[TableHeader(Title = "工业企业统计表",HorizontalAlignment = HeaderHorizontalAlignment.Center,StartRowIndex = 0,StartCellIndex = 0,EndRowIndex = 0,Auto = true)]
|
|
|
|
|
public class IndustrialEnterprise
|
|
|
|
|
{
|
|
|
|
|
[ExcelColumn(Name = "序号", Sort = 1)]
|
|
|
|
|
public int Index { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "单位名称", Sort = 2)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "所在旗县(市区)",Sort = 3)]
|
|
|
|
|
public string Area { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "监管级别(一、二、三)", Sort = 4)]
|
|
|
|
|
public string RegulatoryLevel { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "概况", Sort = 5)]
|
|
|
|
|
public IndustrialSurvey Survey { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "消防安全责任人", Sort = 6)]
|
|
|
|
|
public PersonInChargeOfSafety PersonInChargeOfSafetyInfo { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "消防安全管理人", Sort = 7)]
|
|
|
|
|
public SecurityAdministrator SecurityAdministratorInfo { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "经度", Sort = 8)]
|
|
|
|
|
public string Longitude { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "纬度", Sort = 9)]
|
|
|
|
|
public string Latitude { get; set; }
|
|
|
|
|
public IndustrialEnterprise()
|
|
|
|
|
{
|
|
|
|
|
Survey = new IndustrialSurvey();
|
|
|
|
|
PersonInChargeOfSafetyInfo = new PersonInChargeOfSafety();
|
|
|
|
|
SecurityAdministratorInfo = new SecurityAdministrator();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TableColumnDto]
|
|
|
|
|
public class IndustrialSurvey
|
|
|
|
|
{
|
|
|
|
|
[ExcelColumn(Name = "主要产品", Sort = 1)]
|
|
|
|
|
public string MainProduct { get; set; }
|
|
|
|
|
[ExcelColumn(Name = "年产值", Sort = 2)]
|
|
|
|
|
public string AnnualOutputValue { get; set; }
|
|
|
|
|
|
|
|
|
|
[ExcelColumn(Name = "职工人数(人)", Sort = 3)]
|
|
|
|
|
public string EmployeeCount { get; set; }
|
|
|
|
|
|
|
|
|
|
public int EmployeeCountValue { get; set; }
|
|
|
|
|
|
|
|
|
|
[ExcelColumn(Name = "建筑高度(m)", Sort = 4)]
|
|
|
|
|
public string BuildingHeight { get; set; }
|
|
|
|
|
|
|
|
|
|
public int BuildingHeightValue { get; set; }
|
|
|
|
|
|
|
|
|
|
[ExcelColumn(Name = "占地面积(m2)", Sort = 5)]
|
|
|
|
|
public string AreaCovered { get; set; }
|
|
|
|
|
|
|
|
|
|
public decimal AreaCoveredValue { get; set; }
|
|
|
|
|
|
|
|
|
|
[ExcelColumn(Name = "建筑面积(m2)", Sort = 6)]
|
|
|
|
|
public string BuildUpArea { get; set; }
|
|
|
|
|
|
|
|
|
|
public int BuildUpAreaValue { get; set; }
|
|
|
|
|
}
|
|
|
|
|
[TableColumnDto]
|
|
|
|
|
public class PersonInChargeOfSafety
|
|
|
|
|
{
|
|
|
|
|
[ExcelColumn(Name = "姓名", Sort = 1)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[ExcelColumn(Name = "联系电话", Sort = 2)]
|
|
|
|
|
public string Phone { get; set; }
|
|
|
|
|
}
|
|
|
|
|
[TableColumnDto]
|
|
|
|
|
public class SecurityAdministrator
|
|
|
|
|
{
|
|
|
|
|
[ExcelColumn(Name = "姓名", Sort = 1)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[ExcelColumn(Name = "联系电话", Sort = 2)]
|
|
|
|
|
public string Phone { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|