using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CollaborativePlatformMain.DFEntity.MessageSubUtil { /// /// /// 文件名(File Name): ProjectEntity.cs /// /// 描述(Description): 项目信息数据 /// /// 数据表(Tables): nothing /// /// 作者(Author): Ou Rui Song /// /// 日期(Create Date): 2024年5月5日08:30:10 /// /// 修改记录(Revision History): /// R1: /// 修改作者: /// 修改日期: /// 修改理由: /// /// public class ProjectEntity { /// /// 一级数据 /// /// /// public ProjectEntity(string projectName, List projectEntities) { ProjectName = projectName; SubBuildNodes = projectEntities; } /// /// 项目信息 /// /// /// /// public ProjectEntity(string projectName, string businessName, string projectPath) { ProjectName = projectName; BusinessName = businessName; ProjectPath = projectPath; } /// /// 项目信息 /// /// /// public ProjectEntity(string projectName, ProjectEntity subData) { ProjectName = projectName; SubData = subData; } /// /// 团队成员 /// /// /// public ProjectEntity(string projectName, Dictionary teamMembers) { ProjectName = projectName; TeamMembers = teamMembers; } /// /// 工作台 /// /// /// public ProjectEntity(string projectName, OperatingFloorData operatingFloorData) { ProjectName = projectName; OperatingFloorData = operatingFloorData; } /// /// 唯一id /// public string Id { get; set; } = Guid.NewGuid().ToString(); /// /// 一级:项目名称 /// 二级:楼栋名称 /// 三级:楼栋信息 /// public string ProjectName { get; set; } /// /// 业态名称 /// public string BusinessName { get; set; } /// /// 项目地址 /// public string ProjectPath { get; set; } /// /// 子级数据 /// public List SubBuildNodes { get; set; } = new List(); /// /// 子级内容 /// public ProjectEntity SubData { get; set; } /// /// 团队成员 /// public Dictionary TeamMembers { get; set; } = new Dictionary(); /// /// 工作台数据 /// public OperatingFloorData OperatingFloorData { get; set; } } }