消防站文档解析
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
2.0 KiB

3 years ago
using System;
using System.Collections.Generic;
using System.Text;
using Infrastructure.Excel.Attributes;
namespace Application.Shared.Dtos.Units.Imports
{
[TableDto(Name = "地下")]
[TableHeader(Title = "地下建筑统计表", HorizontalAlignment = HeaderHorizontalAlignment.Center, StartRowIndex = 0, StartCellIndex = 0, EndRowIndex = 0, Auto = true)]
public class UnderGround
{
[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 UnderGroundSurvey 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 UnderGround()
{
Survey = new UnderGroundSurvey();
PersonInChargeOfSafetyInfo = new PersonInChargeOfSafety();
SecurityAdministratorInfo = new SecurityAdministrator();
}
}
[TableColumnDto]
public class UnderGroundSurvey
{
public int HeightValue { get; set; }
[ExcelColumn(Name = "建筑面积(m2)", Sort = 1)]
public string Area { get; set; }
public double AreaValue { get; set; }
[ExcelColumn(Name = "使用性质", Sort = 2)]
public string UsageNature { get; set; }
}
}