using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Application
{
[Table("bs_house_info")]
[Comment("房屋信息表")]
public class BsHouseInfo : Core.DEntityBase
{
///
/// HouseCode主键ID
///
[Comment("bs_house_code主键Id")]
[MaxLength(36)]
[Required]
public string HouseCodeId { get; set; }
///
/// 幢名称
///
[Comment("幢名称")]
[MaxLength(255)]
public string BuildingName { get; set; }
///
/// 土地性质
///
[Comment("土地性质")]
public int? LandAttribute { get; set; }
///
/// 结构类型
///
[Comment("结构类型")]
public int? StructureType { get; set; }
///
/// 基础情况
///
[Comment("基础情况")]
public int? BaseInfo { get; set; }
///
/// 抗震等级
///
[Comment("抗震等级")]
public int? SeismicGrade { get; set; }
///
/// 竣工日期
///
[Comment("竣工日期")]
public DateTime? CompletedDate { get; set; }
///
/// 设计使用年限
///
[Comment("设计使用年限")]
public int? UsefulYear { get; set; }
///
/// 总层数
///
[Comment("总层数")]
public int? TotalFloor { get; set; }
///
/// 地上层数
///
[Comment("地上层数")]
public int? LandFloorCount { get; set; }
///
/// 地上商业层数开始
///
[Comment("地上商业层数开始")]
public int? LandBsFloorStart { get; set; }
///
/// 地上商业层数结束
///
[Comment("地上商业层数结束")]
public int? LandBsFloorEnd { get; set; }
///
/// 地上车棚层开始
///
[Comment("地上车棚层开始")]
public int? LandBikeFloorStart { get; set; }
///
/// 地上住宅层开始
///
[Comment("地上住宅层开始")]
public int? LandResidenceFloorStart { get; set; }
///
/// 地上住宅层结束
///
[Comment("地上住宅层结束")]
public int? LandResidenceFloorEnd { get; set; }
///
/// 地下层数
///
[Comment("地下层数")]
public int? UnderFloorCount { get; set; }
///
/// 总建筑面积
///
[Comment("总建筑面积")]
public float? TotalArea { get; set; }
///
/// 有无建筑幕墙
///
[Comment("有无建筑幕墙")]
public int? CurtainWall { get; set; }
///
/// 有无面砖
///
[Comment("有无面砖")]
public int? FaceBrick { get; set; }
///
/// 有无涂料
///
[Comment("有无涂料")]
public int? Coating { get; set; }
///
/// 有无粉刷
///
[Comment("有无粉刷")]
public int? Painting { get; set; }
///
/// 电梯
///
[Comment("电梯")]
[MaxLength(20)]
public string Elevator { get; set; }
///
/// 总户数(户)
///
[Comment("总户数(户)")]
public int? HouseHolds { get; set; }
///
/// 房屋单元数
///
[Comment("房屋单元数")]
public int? Units { get; set; }
///
/// 各单元每层户数(户)
///
[Comment("各单元每层户数(户)")]
public int? UnitFloorHolds { get; set; }
///
/// 建设单位ID
///
[Comment("建设单位ID")]
[MaxLength(36)]
public string BuildingUnitId { get; set; }
///
/// 设计单位ID
///
[Comment("设计单位ID")]
[MaxLength(36)]
public string DesingerUnitId { get; set; }
///
/// 施工单位ID
///
[Comment("施工单位ID")]
[MaxLength(36)]
public string ConstructionUnitId { get; set; }
///
/// 监理单位ID
///
[Comment("监理单位ID")]
[MaxLength(36)]
public string MonitorUnitId { get; set; }
///
/// 产权性质
///
[Comment("产权性质")]
[MaxLength(100)]
public string PropertyRights { get; set; }
///
/// 总共套数
///
[Comment("总共套数")]
public int? HouseCount { get; set; }
///
/// 直管公房套数
///
[Comment("直管公房套数")]
public int? StraightHouseCount { get; set; }
///
/// 自管公房套数
///
[Comment("自管公房套数")]
public int? SelfHouseCount { get; set; }
///
/// 私房套数
///
[Comment("私房套数")]
public int? PrivateHouseCount { get; set; }
///
/// 商品房套数
///
[Comment("商品房套数")]
public int? BusinessCount { get; set; }
///
/// 房改房套数
///
[Comment("房改房套数")]
public int? ChangeHouseCount { get; set; }
///
/// 拆迁安置房套数
///
[Comment("拆迁安置房套数")]
public int? ResettlementHouseCount { get; set; }
///
/// 其它套数
///
[Comment("其它套数")]
public int? OtherCount { get; set; }
///
/// 产权单位ID
///
[Comment("产权单位ID")]
[MaxLength(36)]
public string PropertyUnitId { get; set; }
///
/// 物业单位ID
///
[Comment("物业单位ID")]
[MaxLength(36)]
public string WuYeUnitId { get; set; }
///
/// 房屋场地
///
[Comment("房屋场地")]
[MaxLength(100)]
public string HouseSite { get; set; }
///
/// 相邻施工
///
[Comment("相邻施工")]
[MaxLength(100)]
public string AdjacentConstruction { get; set; }
///
/// 化学侵蚀
///
[Comment("化学侵蚀")]
[MaxLength(100)]
public string ChemicalErosion { get; set; }
///
/// 结构拆改
///
[Comment("结构拆改")]
public int? StructuralDismantling { get; set; }
///
/// 加层改造
///
[Comment("加层改造")]
public int? AddingLayer { get; set; }
///
/// 修缮加固
///
[Comment("修缮加固")]
[MaxLength(100)]
public string RepairAndReinforce { get; set; }
///
/// 历史灾害
///
[Comment("历史灾害")]
[MaxLength(100)]
public string HistoricalCalamity { get; set; }
///
/// 使用功能变更
///
[Comment("使用功能变更")]
[MaxLength(100)]
public string FunctionalChange { get; set; }
///
/// 其他调查内容
///
[Comment("其他调查内容")]
[MaxLength(1000)]
public string OtherContents { get; set; }
///
/// 图纸资料存档处
///
[Comment("图纸资料存档处")]
[MaxLength(50)]
public string DrawingMaterial { get; set; }
///
/// 其他图纸存档
///
[Comment("其他图纸存档")]
[MaxLength(100)]
public string DrawingMaterialText { get; set; }
///
/// 立项文件
///
[Comment("立项文件")]
[MaxLength(2000)]
public string AnEntryDocument { get; set; }
///
/// 规划许可
///
[Comment("规划许可")]
[MaxLength(2000)]
public string PlanningPermission { get; set; }
///
/// 竣工验收备案
///
[Comment("竣工验收备案")]
[MaxLength(2000)]
public string CompletionRecord { get; set; }
///
/// 监理资料
///
[Comment("监理资料")]
[MaxLength(2000)]
public string MonitorDocument { get; set; }
///
/// 鉴定报告
///
[Comment("鉴定报告")]
[MaxLength(2000)]
public string IdentificationReport { get; set; }
///
/// 其它资料
///
[Comment("其它资料")]
[MaxLength(2000)]
public string OtherDocument { get; set; }
///
/// 外立面照片
///
[Comment("外立面照片")]
[MaxLength(2000)]
public string FacadePhoto { get; set; }
///
/// 房屋等级 1,2,3,4,C,d
///
[Comment("房屋等级 1,2,3,4,C,d")]
public int? HouseGrade { get; set; }
///
/// 房屋使用状态
///
[Comment("房屋使用状态")]
public int? HouseUsedStatus { get; set; }
///
/// -1 退回(审核被退回的数据) 1、待建档(需要建档的数据未暂存未保存的)2、暂存(点击了暂存的数据)3、待提交(点击了保存的数据) 5、审核中6、审核通过
///
[Comment("-1 退回(审核被退回的数据) 1、待建档(需要建档的数据未暂存未保存的)2、暂存(点击了暂存的数据)3、待提交(点击了保存的数据) 5、审核中6、审核通过")]
[Required]
public int State { get; set; }
///
/// 调查登记机构
///
[Comment("调查登记机构")]
[MaxLength(100)]
public string InvestigateAgency { get; set; }
///
/// 纸质资料调查人
///
[Comment("纸质资料调查人")]
[MaxLength(50)]
public string InvestigateUser { get; set; }
///
/// 纸质资料审核人
///
[Comment("纸质资料审核人")]
[MaxLength(50)]
public string OfflineAuditor { get; set; }
///
/// 主管部门
///
[Comment("主管部门")]
[MaxLength(50)]
public string CompetentDepartment { get; set; }
}
}