This commit is contained in:
2026-03-06 17:58:48 +08:00
parent 393e451064
commit adedb7e83d
102 changed files with 13691 additions and 271 deletions
@@ -0,0 +1,97 @@
using System.Collections.Generic;
using System;
namespace Model
{
public class CheckSpecialSyncData
{
/// <summary>
/// 公司社会统一信用代码
/// </summary>
public string CollCropCode { get; set; }
/// <summary>
/// 项目id
/// </summary>
public string ProjectId { get; set; }
/// <summary>
/// 分包单位程序访问地址
/// </summary>
public string UnitDomain { get; set; }
/// <summary>
/// 项目安全隐患数据
/// </summary>
public List<CheckSpecialSyncItem> Items { get; set; }
}
public class CheckSpecialSyncItem
{
public string CheckSpecialId { get; set; }
public string CheckSpecialCode { get; set; }
public string ProjectId { get; set; }
public string CheckPerson { get; set; }
public DateTime? CheckTime { get; set; }
public string ScanUrl { get; set; }
public string DaySummary { get; set; }
public string PartInUnits { get; set; }
public string PartInPersons { get; set; }
public string CheckAreas { get; set; }
public string States { get; set; }
public string CompileMan { get; set; }
public string CheckType { get; set; }
public string PartInPersonIds { get; set; }
public string PartInPersonNames { get; set; }
public string CheckItemSetId { get; set; }
public string CheckItemName { get; set; }
public string AttachFileId1 { get; set; }
public string ToKeyId1 { get; set; }
public string AttachSource1 { get; set; }
public string AttachUrl1 { get; set; }
public List<CheckSpecialDetailSyncItem> CheckSpecialDetails { get; set; }
}
public class CheckSpecialDetailSyncItem
{
public string CheckSpecialDetailId { get; set; }
public string CheckSpecialId { get; set; }
public string CheckItem { get; set; }
public string CheckItemName { get; set; }
public string CheckItemType { get; set; }
public string Unqualified { get; set; }
public string CheckArea { get; set; }
public string CheckAreaName { get; set; }
public string UnitId { get; set; }
public bool? CompleteStatus { get; set; }
public DateTime? LimitedDate { get; set; }
public DateTime? CompletedDate { get; set; }
public string Suggestions { get; set; }
public string HandleStep { get; set; }
public string RectifyNoticeId { get; set; }
public string CheckContent { get; set; }
public string WorkArea { get; set; }
public string DataId { get; set; }
public string DataType { get; set; }
public int? SortIndex { get; set; }
public string HiddenHazardType { get; set; }
public string HSEManage { get; set; }
public string HSEManageName { get; set; }
public string RiskLevel { get; set; }
public DateTime? LimitDate { get; set; }
public string AttachUrl { get; set; }
public string HandleWay { get; set; }
public string RectifyOpinion { get; set; }
public DateTime? RectifyDate { get; set; }
public string ReAttachUrl { get; set; }
public string State { get; set; }
public string ProposeUnitId { get; set; }
public string SaveHandleMan { get; set; }
public string AttachFileId1 { get; set; }
public string ToKeyId1 { get; set; }
public string AttachSource1 { get; set; }
public string AttachUrl1 { get; set; }
}
}
@@ -0,0 +1,93 @@
using System;
using System.Collections.Generic;
namespace Model
{
/// <summary>
/// 班前会接收数据
/// </summary>
public class ClassMeetingData
{
/// <summary>
/// 分包单位社会统一信用码
/// </summary>
public string CollCropCode { get; set; }
/// <summary>
/// 分包单位Id
/// </summary>
public string UnitId { get; set; }
/// <summary>
/// 分包单位名称
/// </summary>
public string UnitName { get; set; }
/// <summary>
/// 分包单位简称
/// </summary>
public string ShortUnitName { get; set; }
/// <summary>
/// 分包单位域名
/// </summary>
public string UnitDomain { get; set; }
/// <summary>
/// 总包单位Id
/// </summary>
public string SubjectUnit { get; set; }
/// <summary>
/// 总包单位项目Id
/// </summary>
public string SubjectProject { get; set; }
/// <summary>
/// 班前会数据集合
/// </summary>
public List<ClassMeetingItem> Items { get; set; }
}
/// <summary>
/// 班前会数据
/// </summary>
public class ClassMeetingItem
{
public string ProjectId { get; set; }
public string UnitId { get; set; }
public string ClassMeetingId { get; set; }
public string ClassMeetingCode { get; set; }
public string ClassMeetingName { get; set; }
public DateTime? ClassMeetingDate { get; set; }
public string ClassMeetingContents { get; set; }
public string CompileMan { get; set; }
public string CompileManName { get; set; }
public string TeamGroupId { get; set; }
public string TeamGroupName { get; set; }
public DateTime? CompileDate { get; set; }
public string States { get; set; }
public string MeetingPlace { get; set; }
public decimal? MeetingHours { get; set; }
public string MeetingHostMan { get; set; }
public string AttentPerson { get; set; }
public int? AttentPersonNum { get; set; }
public string MeetingHostManOther { get; set; }
public string Remark { get; set; }
/// <summary>
/// 内容附件
/// </summary>
public string AttachFileId { get; set; }
public string ToKeyId { get; set; }
public string AttachSource { get; set; }
public string AttachUrl { get; set; }
/// <summary>
/// 签到表
/// </summary>
public string AttachFileId1 { get; set; }
public string ToKeyId1 { get; set; }
public string AttachSource1 { get; set; }
public string AttachUrl1 { get; set; }
/// <summary>
/// 会议过程
/// </summary>
public string AttachFileId2 { get; set; }
public string ToKeyId2 { get; set; }
public string AttachSource2 { get; set; }
public string AttachUrl2 { get; set; }
}
}
@@ -0,0 +1,89 @@
using System.Collections.Generic;
using System;
namespace Model
{
public class HazardRegisterSyncData
{
/// <summary>
/// 公司社会统一信用代码
/// </summary>
public string CollCropCode { get; set; }
/// <summary>
/// 项目id
/// </summary>
public string ProjectId { get; set; }
/// <summary>
/// 分包单位程序访问地址
/// </summary>
public string UnitDomain { get; set; }
/// <summary>
/// 项目安全隐患数据
/// </summary>
public List<HazardRegisterSyncItem> Items
{
get;
set;
}
}
public class HazardRegisterSyncItem
{
public string HazardRegisterId { get; set; } // 主键
public string HazardCode { get; set; } // 隐患编码
public DateTime? RegisterDate { get; set; } // 观察日期
public string RegisterDef { get; set; } // 观察说明
public string Rectification { get; set; } // 整改措施
public string Place { get; set; } // 地点id
public string PlaceName { get; set; } // 地点名称
public string ResponsibleUnit { get; set; } // 负责方(单位)
public string Observer { get; set; } // 观察员
public DateTime? RectifiedDate { get; set; } // 整改日期
public string AttachUrl { get; set; } // 附件URL
public string ProjectId { get; set; } // 项目ID
public string States { get; set; } // 状态 1:待整改;2:已整改,待确认;3:已确认,即已闭环;4:已作废
public string IsEffective { get; set; } // 是否审核 0:待审核;1:审核通过,待整改;
public string ResponsibleMan { get; set; } // 负责人
public string ResponsibleManName { get; set; } // 负责人
public string CheckManId { get; set; } // 巡检员
public string CheckManName { get; set; } // 巡检员
public DateTime? CheckTime { get; set; } // 巡检时间
public DateTime? RectificationPeriod { get; set; } // 整改期限
public string ImageUrl { get; set; } // 整改前图片路径
public string RectificationImageUrl { get; set; } // 整改后图片路径
public DateTime? RectificationTime { get; set; } // 整改时间
public string ConfirmMan { get; set; } // 确认人
public string ConfirmManName { get; set; } // 确认人
public DateTime? ConfirmDate { get; set; } // 确认时间
public string HandleIdea { get; set; } // 整改意见
public int CutPayment { get; set; } // 扣款金额
public string ProblemTypes { get; set; } // 问题类型 0:安全;1:质量
public string RegisterTypesId { get; set; } // 巡检隐患类型id
public string RegisterTypesName { get; set; } // 巡检隐患类型名称
public string CheckCycle { get; set; } // 检查周期
public string CheckItemDetailId { get; set; } // 详细Id
public string SupCheckItemSetId { get; set; } // 上级检查项集合Id
public string CheckItemSetId { get; set; } // 检查项id
public string CheckSpecialId { get; set; } // 特殊检查项Id
public string InstallationId { get; set; } // 装置Id
public string SafeSupervisionId { get; set; } // 安全监督Id
public string ResponsibleMan2 { get; set; } // 第二责任人
public string ResponsibleMan2Name { get; set; } // 第二责任人
public bool? SafeSupervisionIsOK { get; set; } // 安全监督是否合格
public string GpsLocation { get; set; } // GPS位置
public string IsWx { get; set; } // 是否微信
public string DIC_ID { get; set; } // 质量巡检问题类型id
public string CCManIds { get; set; } // 抄送人员IDs
public string ResultType { get; set; } // 相关联单据类型
public string ResultId { get; set; } // 项关联单据ID
public string Requirements { get; set; } // 整改要求
public string Risk_Level { get; set; } // 风险等级
public string ControlId { get; set; } // 控制措施Id
public string DataSource { get; set; } // 数据来源
}
}
@@ -0,0 +1,94 @@
using System;
using System.Collections.Generic;
namespace Model
{
/// <summary>
/// 作业票定稿接收数据
/// </summary>
public class LicenseManagerData
{
/// <summary>
/// 分包单位社会统一信用码
/// </summary>
public string CollCropCode { get; set; }
/// <summary>
/// 分包单位Id
/// </summary>
public string UnitId { get; set; }
/// <summary>
/// 分包单位名称
/// </summary>
public string UnitName { get; set; }
/// <summary>
/// 分包单位简称
/// </summary>
public string ShortUnitName { get; set; }
/// <summary>
/// 分包单位域名
/// </summary>
public string UnitDomain { get; set; }
/// <summary>
/// 总包单位Id
/// </summary>
public string SubjectUnit { get; set; }
/// <summary>
/// 总包单位项目Id
/// </summary>
public string SubjectProject { get; set; }
/// <summary>
/// 作业票定稿数据集合
/// </summary>
public List<LicenseManagerItem> Items { get; set; }
}
/// <summary>
/// 作业票定稿数据
/// </summary>
public class LicenseManagerItem
{
public string ProjectId { get; set; }
public string UnitId { get; set; }
public string LicenseManagerId { get; set; }
public string LicenseManagerCode { get; set; }
public string LicenseManageName { get; set; }
public string LicenseTypeId { get; set; }
public string LicenseTypeCode { get; set; }
public string LicenseTypeName { get; set; }
public string LicenseManageContents { get; set; }
public string CompileMan { get; set; }
public string CompileManName { get; set; }
public DateTime? CompileDate { get; set; }
public string States { get; set; }
public string WorkAreaId { get; set; }
public string UnitWorkCode { get; set; }
public string UnitWorkName { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
public string ApplicantMan { get; set; }
public string WorkStates { get; set; }
public bool? IsHighRisk { get; set; }
public string LicenseCodes { get; set; }
/// <summary>
/// 来源说明
/// </summary>
public string SourceDes { get; set; }
/// <summary>
/// 附件
/// </summary>
public string AttachFileId { get; set; }
public string ToKeyId { get; set; }
public string AttachSource { get; set; }
public string AttachUrl { get; set; }
/// <summary>
/// 关闭附件
/// </summary>
public string AttachFileId1 { get; set; }
public string ToKeyId1 { get; set; }
public string AttachSource1 { get; set; }
public string AttachUrl1 { get; set; }
}
}
@@ -0,0 +1,118 @@
using System.Collections.Generic;
using System;
namespace Model
{
public class PersonSyncData
{
/// <summary>
/// 公司社会统一信用代码
/// </summary>
public string CollCropCode { get; set; }
/// <summary>
/// 项目id
/// </summary>
public string ProjectId { get; set; }
/// <summary>
/// 分包单位程序访问地址
/// </summary>
public string UnitDomain { get; set; }
/// <summary>
/// 项目安全隐患数据
/// </summary>
public List<PersonSyncItem> Items
{
get;
set;
}
}
public class PersonSyncItem
{
public string PersonId { get; set; }
public string CardNo { get; set; }
public string PersonName { get; set; }
public string Sex { get; set; }
public string IdentityCard { get; set; }
public string Address { get; set; }
public string ProjectId { get; set; } // 注释掉的字段
public string UnitId { get; set; } // 注释掉的字段
public string TeamGroupId { get; set; }
public string WorkAreaId { get; set; }
public string WorkPostId { get; set; }
public DateTime? InTime { get; set; }
public DateTime? OutTime { get; set; }
public string OutResult { get; set; }
public string Telephone { get; set; }
public string PositionId { get; set; } // 职务(注释掉的字段)
public string PostTitleId { get; set; } // 职称(注释掉的字段)
public string PhotoUrl { get; set; }
public bool IsUsed { get; set; }
public bool IsCardUsed { get; set; }
public int? PersonIndex { get; set; }
public string DepartId { get; set; } // 部门(注释掉的字段)
public string CertificateId { get; set; }
public string CertificateCode { get; set; }
public string CertificateName { get; set; }
public DateTime? CertificateLimitTime { get; set; }
public CertificateItem CertificateItem { get; set; }
public string QualificationCertificateUrl { get; set; }
public string TrainingCertificateUrl { get; set; }
public string QRCodeAttachUrl { get; set; }
public string Password { get; set; }
public string FromPersonId { get; set; }
public string AuditorId { get; set; } // 审核人(注释掉的字段)
public DateTime? AuditorDate { get; set; }
public DateTime? ExchangeTime { get; set; }
public DateTime? ExchangeTime2 { get; set; }
public string IDCardUrl { get; set; }
public bool? IsForeign { get; set; }
public bool? IsOutside { get; set; }
public string EduLevel { get; set; }
public string MaritalStatus { get; set; }
public string Isprint { get; set; }
public string MainCNProfessionalId { get; set; }
public string ViceCNProfessionalId { get; set; }
public DateTime? Birthday { get; set; }
public string IdcardType { get; set; }
public DateTime? IdcardStartDate { get; set; }
public DateTime? IdcardEndDate { get; set; }
public string IdcardForever { get; set; }
public string PoliticsStatus { get; set; }
public string IdcardAddress { get; set; }
public string Nation { get; set; }
public string CountryCode { get; set; }
public bool? IsSafetyMonitoring { get; set; }
public string ProvinceCode { get; set; }
public bool? IsCardNoOK { get; set; }
public string AttachUrl1 { get; set; }
public string AttachUrl2 { get; set; }
public string AttachUrl3 { get; set; }
public string AttachUrl4 { get; set; }
public string AttachUrl5 { get; set; }
public string WorkPostName { get; set; }
public string PostType { get; set; }
public bool? IsHsse { get; set; }
public bool? IsCQMS { get; set; }
public string TeamGroupName { get; set; }
public string WorkAreaName { get; set; }
}
public class CertificateItem
{
public string PersonQualityId { get; set; }
public string CertificateId { get; set; }
public string CertificateNo { get; set; }
public string CertificateName { get; set; }
public DateTime? CertificateLimitDate { get; set; }
}
}