update 新增实体类

This commit is contained in:
2021-05-20 17:30:16 +08:00
parent aa958e0a14
commit 20047caa92
2 changed files with 83 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ namespace Ewide.Application.Entity
/// 电梯 /// 电梯
/// </summary> /// </summary>
[Comment("电梯")] [Comment("电梯")]
[MaxLength(20)]
public string Elevator { get; set; } public string Elevator { get; set; }
/// <summary> /// <summary>
@@ -167,30 +168,35 @@ namespace Ewide.Application.Entity
/// 建设单位ID /// 建设单位ID
/// </summary> /// </summary>
[Comment("建设单位ID")] [Comment("建设单位ID")]
[MaxLength(36)]
public string BuildingUnitId { get; set; } public string BuildingUnitId { get; set; }
/// <summary> /// <summary>
/// 设计单位ID /// 设计单位ID
/// </summary> /// </summary>
[Comment("设计单位ID")] [Comment("设计单位ID")]
[MaxLength(36)]
public string DesingerUnitId { get; set; } public string DesingerUnitId { get; set; }
/// <summary> /// <summary>
/// 施工单位ID /// 施工单位ID
/// </summary> /// </summary>
[Comment("施工单位ID")] [Comment("施工单位ID")]
[MaxLength(36)]
public string ConstructionUnitId { get; set; } public string ConstructionUnitId { get; set; }
/// <summary> /// <summary>
/// 监理单位ID /// 监理单位ID
/// </summary> /// </summary>
[Comment("监理单位ID")] [Comment("监理单位ID")]
[MaxLength(36)]
public string MonitorUnitId { get; set; } public string MonitorUnitId { get; set; }
/// <summary> /// <summary>
/// 产权性质 /// 产权性质
/// </summary> /// </summary>
[Comment("产权性质")] [Comment("产权性质")]
[MaxLength(100)]
public string PropertyRights { get; set; } public string PropertyRights { get; set; }
/// <summary> /// <summary>
@@ -245,30 +251,35 @@ namespace Ewide.Application.Entity
/// 产权单位ID /// 产权单位ID
/// </summary> /// </summary>
[Comment("产权单位ID")] [Comment("产权单位ID")]
[MaxLength(36)]
public string PropertyUnitId { get; set; } public string PropertyUnitId { get; set; }
/// <summary> /// <summary>
/// 物业单位ID /// 物业单位ID
/// </summary> /// </summary>
[Comment("物业单位ID")] [Comment("物业单位ID")]
[MaxLength(36)]
public string WuYeUnitId { get; set; } public string WuYeUnitId { get; set; }
/// <summary> /// <summary>
/// 房屋场地 /// 房屋场地
/// </summary> /// </summary>
[Comment("房屋场地")] [Comment("房屋场地")]
[MaxLength(100)]
public string HouseSite { get; set; } public string HouseSite { get; set; }
/// <summary> /// <summary>
/// 相邻施工 /// 相邻施工
/// </summary> /// </summary>
[Comment("相邻施工")] [Comment("相邻施工")]
[MaxLength(100)]
public string AdjacentConstruction { get; set; } public string AdjacentConstruction { get; set; }
/// <summary> /// <summary>
/// 化学侵蚀 /// 化学侵蚀
/// </summary> /// </summary>
[Comment("化学侵蚀")] [Comment("化学侵蚀")]
[MaxLength(100)]
public string ChemicalErosion { get; set; } public string ChemicalErosion { get; set; }
/// <summary> /// <summary>
@@ -287,78 +298,91 @@ namespace Ewide.Application.Entity
/// 修缮加固 /// 修缮加固
/// </summary> /// </summary>
[Comment("修缮加固")] [Comment("修缮加固")]
[MaxLength(100)]
public string RepairAndReinforce { get; set; } public string RepairAndReinforce { get; set; }
/// <summary> /// <summary>
/// 历史灾害 /// 历史灾害
/// </summary> /// </summary>
[Comment("历史灾害")] [Comment("历史灾害")]
[MaxLength(100)]
public string HistoricalCalamity { get; set; } public string HistoricalCalamity { get; set; }
/// <summary> /// <summary>
/// 使用功能变更 /// 使用功能变更
/// </summary> /// </summary>
[Comment("使用功能变更")] [Comment("使用功能变更")]
[MaxLength(100)]
public string FunctionalChange { get; set; } public string FunctionalChange { get; set; }
/// <summary> /// <summary>
/// 其他调查内容 /// 其他调查内容
/// </summary> /// </summary>
[Comment("其他调查内容")] [Comment("其他调查内容")]
[MaxLength(1000)]
public string OtherContents { get; set; } public string OtherContents { get; set; }
/// <summary> /// <summary>
/// 图纸资料存档处 /// 图纸资料存档处
/// </summary> /// </summary>
[Comment("图纸资料存档处")] [Comment("图纸资料存档处")]
[MaxLength(50)]
public string DrawingMaterial { get; set; } public string DrawingMaterial { get; set; }
/// <summary> /// <summary>
/// 其他图纸存档 /// 其他图纸存档
/// </summary> /// </summary>
[Comment("其他图纸存档")] [Comment("其他图纸存档")]
[MaxLength(100)]
public string DrawingMaterialText { get; set; } public string DrawingMaterialText { get; set; }
/// <summary> /// <summary>
/// 立项文件 /// 立项文件
/// </summary> /// </summary>
[Comment("立项文件")] [Comment("立项文件")]
[MaxLength(2000)]
public string AnEntryDocument { get; set; } public string AnEntryDocument { get; set; }
/// <summary> /// <summary>
/// 规划许可 /// 规划许可
/// </summary> /// </summary>
[Comment("规划许可")] [Comment("规划许可")]
[MaxLength(2000)]
public string PlanningPermission { get; set; } public string PlanningPermission { get; set; }
/// <summary> /// <summary>
/// 竣工验收备案 /// 竣工验收备案
/// </summary> /// </summary>
[Comment("竣工验收备案")] [Comment("竣工验收备案")]
[MaxLength(2000)]
public string CompletionRecord { get; set; } public string CompletionRecord { get; set; }
/// <summary> /// <summary>
/// 监理资料 /// 监理资料
/// </summary> /// </summary>
[Comment("监理资料")] [Comment("监理资料")]
[MaxLength(2000)]
public string MonitorDocument { get; set; } public string MonitorDocument { get; set; }
/// <summary> /// <summary>
/// 鉴定报告 /// 鉴定报告
/// </summary> /// </summary>
[Comment("鉴定报告")] [Comment("鉴定报告")]
[MaxLength(2000)]
public string IdentificationReport { get; set; } public string IdentificationReport { get; set; }
/// <summary> /// <summary>
/// 其它资料 /// 其它资料
/// </summary> /// </summary>
[Comment("其它资料")] [Comment("其它资料")]
[MaxLength(2000)]
public string OtherDocument { get; set; } public string OtherDocument { get; set; }
/// <summary> /// <summary>
/// 外立面照片 /// 外立面照片
/// </summary> /// </summary>
[Comment("外立面照片")] [Comment("外立面照片")]
[MaxLength(2000)]
public string FacadePhoto { get; set; } public string FacadePhoto { get; set; }
/// <summary> /// <summary>
@@ -384,24 +408,28 @@ namespace Ewide.Application.Entity
/// 调查登记机构 /// 调查登记机构
/// </summary> /// </summary>
[Comment("调查登记机构")] [Comment("调查登记机构")]
[MaxLength(100)]
public string InvestigateAgency { get; set; } public string InvestigateAgency { get; set; }
/// <summary> /// <summary>
/// 纸质资料调查人 /// 纸质资料调查人
/// </summary> /// </summary>
[Comment("纸质资料调查人")] [Comment("纸质资料调查人")]
[MaxLength(50)]
public string InvestigateUser { get; set; } public string InvestigateUser { get; set; }
/// <summary> /// <summary>
/// 纸质资料审核人 /// 纸质资料审核人
/// </summary> /// </summary>
[Comment("纸质资料审核人")] [Comment("纸质资料审核人")]
[MaxLength(50)]
public string OfflineAuditor { get; set; } public string OfflineAuditor { get; set; }
/// <summary> /// <summary>
/// 主管部门 /// 主管部门
/// </summary> /// </summary>
[Comment("主管部门")] [Comment("主管部门")]
[MaxLength(50)]
public string CompetentDepartment { get; set; } public string CompetentDepartment { get; set; }
} }

View File

@@ -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
{
/// <summary>
/// 单位类型,多选
/// </summary>
[Comment("单位类型,多选")]
[MaxLength(20)]
public string Type { get; set; }
/// <summary>
/// 单位名称
/// </summary>
[Comment("单位名称")]
[MaxLength(200)]
public string CompanyName { get; set; }
/// <summary>
/// 单位负责人
/// </summary>
[Comment("单位负责人")]
[MaxLength(100)]
public string ChargePerson { get; set; }
/// <summary>
/// 单位负责人电话
/// </summary>
[Comment("单位负责人电话")]
[MaxLength(50)]
public string ChargePersonTel { get; set; }
/// <summary>
/// 单位联系人
/// </summary>
[Comment("单位联系人")]
[MaxLength(100)]
public string ContactPerson { get; set; }
/// <summary>
/// 单位联系人电话
/// </summary>
[Comment("单位联系人电话")]
[MaxLength(50)]
public string ContactPersonTel { get; set; }
}
}