diff --git a/Api/Ewide.Application/Entity/BsHouseInfo.cs b/Api/Ewide.Application/Entity/BsHouseInfo.cs index 2ff75e9..f6f1400 100644 --- a/Api/Ewide.Application/Entity/BsHouseInfo.cs +++ b/Api/Ewide.Application/Entity/BsHouseInfo.cs @@ -143,6 +143,7 @@ namespace Ewide.Application.Entity /// 电梯 /// [Comment("电梯")] + [MaxLength(20)] public string Elevator { get; set; } /// @@ -167,30 +168,35 @@ namespace Ewide.Application.Entity /// 建设单位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; } /// @@ -245,30 +251,35 @@ namespace Ewide.Application.Entity /// 产权单位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; } /// @@ -287,78 +298,91 @@ namespace Ewide.Application.Entity /// 修缮加固 /// [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; } /// @@ -384,24 +408,28 @@ namespace Ewide.Application.Entity /// 调查登记机构 /// [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; } } diff --git a/Api/Ewide.Application/Entity/BsHouseUnitInfo.cs b/Api/Ewide.Application/Entity/BsHouseUnitInfo.cs new file mode 100644 index 0000000..ae2363b --- /dev/null +++ b/Api/Ewide.Application/Entity/BsHouseUnitInfo.cs @@ -0,0 +1,55 @@ +using Microsoft.EntityFrameworkCore; +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Ewide.Application.Entity +{ + public class BsHouseCompany : Core.DEntityBase + { + /// + /// 单位类型,多选 + /// + [Comment("单位类型,多选")] + [MaxLength(20)] + public string Type { get; set; } + + /// + /// 单位名称 + /// + [Comment("单位名称")] + [MaxLength(200)] + public string CompanyName { get; set; } + + /// + /// 单位负责人 + /// + [Comment("单位负责人")] + [MaxLength(100)] + public string ChargePerson { get; set; } + + /// + /// 单位负责人电话 + /// + [Comment("单位负责人电话")] + [MaxLength(50)] + public string ChargePersonTel { get; set; } + + /// + /// 单位联系人 + /// + [Comment("单位联系人")] + [MaxLength(100)] + public string ContactPerson { get; set; } + + /// + /// 单位联系人电话 + /// + [Comment("单位联系人电话")] + [MaxLength(50)] + public string ContactPersonTel { get; set; } + } +}