加表
This commit is contained in:
parent
956dcb24a4
commit
26aae58eaf
135239
APT.Data.Migrations/Migrations/20251107032753_hmr2025110701.Designer.cs
generated
Normal file
135239
APT.Data.Migrations/Migrations/20251107032753_hmr2025110701.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
2981
APT.Data.Migrations/Migrations/20251107032753_hmr2025110701.cs
Normal file
2981
APT.Data.Migrations/Migrations/20251107032753_hmr2025110701.cs
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1041,6 +1041,18 @@ builder.Ignore(t => t.IS_OVERTIME);
|
||||
builder.Ignore(t => t.CONTEXT);
|
||||
builder.Property(t => t.PARENT_NAME).HasMaxLength(500);
|
||||
builder.HasOne(t => t.Nav_Related).WithMany().HasForeignKey(t => t.RELATED_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Area).WithMany().HasForeignKey(t => t.AREA_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CrucialLicenseJobRisk
|
||||
public partial class FOCrucialLicenseJobRiskMap :APTEntityBaseMap<T_FO_CRUCIAL_LICENSE_JOB_RISK>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_CRUCIAL_LICENSE_JOB_RISK> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_CrucialLicenseJob).WithMany(t=>t.Nav_Risks).HasForeignKey(t => t.CRUCIAL_LICENSE_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.RISK_NAME).HasMaxLength(20);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@ -1068,6 +1080,17 @@ builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelet
|
||||
builder.Property(t => t.CERTIFICATE_NAME).HasMaxLength(500);
|
||||
builder.Property(t => t.CERTIFICATE_CODE).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CrucialLicenseOutsourceRisk
|
||||
public partial class FOCrucialLicenseOutsourceRiskMap :APTEntityBaseMap<T_FO_CRUCIAL_LICENSE_OUTSOURCE_RISK>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_CRUCIAL_LICENSE_OUTSOURCE_RISK> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_CrucialLicenseJob).WithMany(t=>t.Nav_Risks).HasForeignKey(t => t.CRUCIAL_LICENSE_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.RISK_NAME).HasMaxLength(20);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CrucialLicenseOutsourceSafeConfirm
|
||||
@ -1193,6 +1216,264 @@ builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).
|
||||
builder.HasOne(t => t.Nav_CurrentClassRecord).WithMany(t=>t.Nav_Users).HasForeignKey(t => t.CURRENT_CLASS_RECORD_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Educational
|
||||
public partial class FOEducationalMap :APTEntityBaseMap<T_FO_EDUCATIONAL>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_EDUCATIONAL> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJob
|
||||
public partial class FOFireJobMap :APTEntityBaseMap<T_FO_FIRE_JOB>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_ApplyUser).WithMany().HasForeignKey(t => t.APPLY_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ApplyDepartment).WithMany().HasForeignKey(t => t.APPLY_DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Company).WithMany().HasForeignKey(t => t.COMPANY_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ProductionUnit).WithMany().HasForeignKey(t => t.PRODUCTION_UNIT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CODE).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_OperationStep).WithMany().HasForeignKey(t => t.OPERATION_STEP_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_FireUser).WithMany().HasForeignKey(t => t.FIRE_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_FireDepartment).WithMany().HasForeignKey(t => t.FIRE_DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_SafeUser).WithMany().HasForeignKey(t => t.SAFE_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Area).WithMany().HasForeignKey(t => t.AREA_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.JOB_LOCATION).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_Type).WithMany().HasForeignKey(t => t.TYPE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.JOB_CONTENT).HasMaxLength(500);
|
||||
builder.HasOne(t => t.Nav_MonitorUser).WithMany().HasForeignKey(t => t.MONITOR_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.COMPLETED_CONDITION).HasMaxLength(200);
|
||||
builder.HasOne(t => t.Nav_DispatchUser).WithMany().HasForeignKey(t => t.DISPATCH_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.COMPLETED_CONTENT).HasMaxLength(200);
|
||||
builder.Ignore(t => t.PUBLISH);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobDetail
|
||||
public partial class FOFireJobDetailMap :APTEntityBaseMap<T_FO_FIRE_JOB_DETAIL>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_DETAIL> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Details).HasForeignKey(t => t.FIRE_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CONTENT).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobDetailFile
|
||||
public partial class FOFireJobDetailFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_DETAIL_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_DETAIL_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Detail).WithMany(t=>t.Nav_DetailFiles).HasForeignKey(t => t.FIRE_JOB_DETAIL_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobFile
|
||||
public partial class FOFireJobFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Files).HasForeignKey(t => t.FIRE_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobFireFile
|
||||
public partial class FOFireJobFireFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_FIRE_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_FIRE_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_FireFiles).HasForeignKey(t => t.FIRE_JOB_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobMonitorFile
|
||||
public partial class FOFireJobMonitorFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_MONITOR_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_MONITOR_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_MonitorFiles).HasForeignKey(t => t.FIRE_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobRisk
|
||||
public partial class FOFireJobRiskMap :APTEntityBaseMap<T_FO_FIRE_JOB_RISK>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_RISK> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Risks).HasForeignKey(t => t.FIRE_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.RISK_NAME).HasMaxLength(20);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobUser
|
||||
public partial class FOFireJobUserMap :APTEntityBaseMap<T_FO_FIRE_JOB_USER>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_USER> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Users).HasForeignKey(t => t.FIRE_JOB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_UserType).WithMany().HasForeignKey(t => t.USER_TYPE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CERTIFICATE_NAME).HasMaxLength(100);
|
||||
builder.Property(t => t.CERTIFICATE_CODE).HasMaxLength(50);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobUserFile
|
||||
public partial class FOFireJobUserFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_USER_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_USER_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_UserFiles).HasForeignKey(t => t.FIRE_JOB_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWb
|
||||
public partial class FOFireJobWbMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_ApplyUser).WithMany().HasForeignKey(t => t.APPLY_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ApplyDepartment).WithMany().HasForeignKey(t => t.APPLY_DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Company).WithMany().HasForeignKey(t => t.COMPANY_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ProductionUnit).WithMany().HasForeignKey(t => t.PRODUCTION_UNIT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CODE).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_OperationStep).WithMany().HasForeignKey(t => t.OPERATION_STEP_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.DPARTMENT_NAME).HasMaxLength(100);
|
||||
builder.Property(t => t.USER_NAME).HasMaxLength(50);
|
||||
builder.Property(t => t.USER_PHONE).HasMaxLength(11);
|
||||
builder.Property(t => t.SAFE_USER_NAME).HasMaxLength(50);
|
||||
builder.Property(t => t.SAFE_USER_PHONE).HasMaxLength(11);
|
||||
builder.HasOne(t => t.Nav_Area).WithMany().HasForeignKey(t => t.AREA_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.JOB_LOCATION).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_Type).WithMany().HasForeignKey(t => t.TYPE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.JOB_CONTENT).HasMaxLength(500);
|
||||
builder.HasOne(t => t.Nav_MonitorUser).WithMany().HasForeignKey(t => t.MONITOR_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.COMPLETED_CONDITION).HasMaxLength(200);
|
||||
builder.Property(t => t.COMPLETED_CONTENT).HasMaxLength(200);
|
||||
builder.Ignore(t => t.PUBLISH);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbDetail
|
||||
public partial class FOFireJobWbDetailMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_DETAIL>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_DETAIL> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Details).HasForeignKey(t => t.FIRE_JOB_WB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CONTENT).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbDetailFile
|
||||
public partial class FOFireJobWbDetailFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_DETAIL_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_DETAIL_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Detail).WithMany(t=>t.Nav_DetailFiles).HasForeignKey(t => t.FIRE_JOB_WB_DETAIL_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbFile
|
||||
public partial class FOFireJobWbFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Files).HasForeignKey(t => t.FIRE_JOB_WB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbFireFile
|
||||
public partial class FOFireJobWbFireFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_FIRE_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_FIRE_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_FireFiles).HasForeignKey(t => t.FIRE_JOB_WB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbMonitorFile
|
||||
public partial class FOFireJobWbMonitorFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_MONITOR_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_MONITOR_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_MonitorFiles).HasForeignKey(t => t.FIRE_JOB_WB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbRisk
|
||||
public partial class FOFireJobWbRiskMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_RISK>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_RISK> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Risks).HasForeignKey(t => t.FIRE_JOB_WB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.RISK_NAME).HasMaxLength(20);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbUser
|
||||
public partial class FOFireJobWbUserMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_USER>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_USER> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_Users).HasForeignKey(t => t.FIRE_JOB_WB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_UserType).WithMany().HasForeignKey(t => t.USER_TYPE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CERTIFICATE_NAME).HasMaxLength(100);
|
||||
builder.Property(t => t.CERTIFICATE_CODE).HasMaxLength(50);
|
||||
builder.Property(t => t.USER_NAME).HasMaxLength(50);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireJobWbUserFile
|
||||
public partial class FOFireJobWbUserFileMap :APTEntityBaseMap<T_FO_FIRE_JOB_WB_USER_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_JOB_WB_USER_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Job).WithMany(t=>t.Nav_UserFiles).HasForeignKey(t => t.FIRE_JOB_WB_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region FireType
|
||||
public partial class FOFireTypeMap :APTEntityBaseMap<T_FO_FIRE_TYPE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_FIRE_TYPE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Holidays
|
||||
@ -1425,6 +1706,83 @@ builder.Property(t => t.PARENT_NAME).HasMaxLength(500);
|
||||
builder.Property(t => t.CODE).HasMaxLength(500);
|
||||
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region LeaderWellRecord
|
||||
public partial class FOLeaderWellRecordMap :APTEntityBaseMap<T_FO_LEADER_WELL_RECORD>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_LEADER_WELL_RECORD> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_ApplyUser).WithMany().HasForeignKey(t => t.APPLY_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ApplyDepartment).WithMany().HasForeignKey(t => t.APPLY_DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Company).WithMany().HasForeignKey(t => t.COMPANY_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ProductionUnit).WithMany().HasForeignKey(t => t.PRODUCTION_UNIT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Class).WithMany().HasForeignKey(t => t.CLASS_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Ignore(t => t.PUBLISH);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region LeaderWellRecordDetail
|
||||
public partial class FOLeaderWellRecordDetailMap :APTEntityBaseMap<T_FO_LEADER_WELL_RECORD_DETAIL>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_LEADER_WELL_RECORD_DETAIL> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Record).WithMany(t=>t.Nav_Details).HasForeignKey(t => t.LEADER_WELL_RECORD_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.DESCRIPTION).HasMaxLength(500);
|
||||
builder.Property(t => t.QUESTION).HasMaxLength(500);
|
||||
builder.Property(t => t.MEASURE).HasMaxLength(500);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.ITEM).HasMaxLength(500);
|
||||
builder.Property(t => t.PLACE).HasMaxLength(50);
|
||||
builder.HasOne(t => t.Nav_PreUser).WithMany().HasForeignKey(t => t.PRE_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_AfterUser).WithMany().HasForeignKey(t => t.AFTER_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region LeaderWellRecordDetailArea
|
||||
public partial class FOLeaderWellRecordDetailAreaMap :APTEntityBaseMap<T_FO_LEADER_WELL_RECORD_DETAIL_AREA>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_LEADER_WELL_RECORD_DETAIL_AREA> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Detail).WithMany(t=>t.Nav_DetailAreas).HasForeignKey(t => t.LEADER_WELL_RECORD_DETAIL_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Area).WithMany().HasForeignKey(t => t.AREA_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region LeaderWellRecordDetailFile
|
||||
public partial class FOLeaderWellRecordDetailFileMap :APTEntityBaseMap<T_FO_LEADER_WELL_RECORD_DETAIL_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_LEADER_WELL_RECORD_DETAIL_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Detail).WithMany(t=>t.Nav_DetailFiles).HasForeignKey(t => t.LEADER_WELL_RECORD_DETAIL_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region LeaderWellRecordFile
|
||||
public partial class FOLeaderWellRecordFileMap :APTEntityBaseMap<T_FO_LEADER_WELL_RECORD_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_LEADER_WELL_RECORD_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Record).WithMany(t=>t.Nav_Files).HasForeignKey(t => t.LEADER_WELL_RECORD_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region LeaderWellRecordUser
|
||||
public partial class FOLeaderWellRecordUserMap :APTEntityBaseMap<T_FO_LEADER_WELL_RECORD_USER>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_LEADER_WELL_RECORD_USER> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Record).WithMany(t=>t.Nav_Users).HasForeignKey(t => t.LEADER_WELL_RECORD_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region PreOperSch
|
||||
@ -1547,6 +1905,127 @@ builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_RealDepartmentPost).WithMany().HasForeignKey(t => t.REAL_DEPARTMENT_POST_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalCategory
|
||||
public partial class FOProfessionalCategoryMap :APTEntityBaseMap<T_FO_PROFESSIONAL_CATEGORY>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_CATEGORY> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResume
|
||||
public partial class FOProfessionalResumeMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_ApplyUser).WithMany().HasForeignKey(t => t.APPLY_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ApplyDepartment).WithMany().HasForeignKey(t => t.APPLY_DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Company).WithMany().HasForeignKey(t => t.COMPANY_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CODE).HasMaxLength(30);
|
||||
builder.HasOne(t => t.Nav_Educational).WithMany().HasForeignKey(t => t.EDUCATIONAL_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.SCHOOL).HasMaxLength(100);
|
||||
builder.Property(t => t.MAJOR).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_Category).WithMany().HasForeignKey(t => t.PROFESSIONAL_CATEGORY_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_TechPost).WithMany().HasForeignKey(t => t.TECH_POST_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumeCertificateFile
|
||||
public partial class FOProfessionalResumeCertificateFileMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Professional).WithMany(t=>t.Nav_CertificateFiles).HasForeignKey(t => t.PROFESSIONAL_RESUME_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumeDetail
|
||||
public partial class FOProfessionalResumeDetailMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_DETAIL>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_DETAIL> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Professional).WithMany(t=>t.Nav_Details).HasForeignKey(t => t.PROFESSIONAL_RESUME_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.UNIT).HasMaxLength(100);
|
||||
builder.Property(t => t.WORK_POST).HasMaxLength(100);
|
||||
builder.Property(t => t.POST_DUTY).HasMaxLength(500);
|
||||
builder.Property(t => t.WORK_ACHIEVEMENT).HasMaxLength(500);
|
||||
builder.Property(t => t.SKILL_IMPROVE).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumeDetailFile
|
||||
public partial class FOProfessionalResumeDetailFileMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_DETAIL_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_DETAIL_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Detail).WithMany(t=>t.Nav_DetailFiles).HasForeignKey(t => t.PROFESSIONAL_RESUME_DETAIL_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumeEducationalFile
|
||||
public partial class FOProfessionalResumeEducationalFileMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Professional).WithMany(t=>t.Nav_EducationalFiles).HasForeignKey(t => t.PROFESSIONAL_RESUME_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumeMedicalFile
|
||||
public partial class FOProfessionalResumeMedicalFileMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Professional).WithMany(t=>t.Nav_MedicalFiles).HasForeignKey(t => t.PROFESSIONAL_RESUME_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumeOtherFile
|
||||
public partial class FOProfessionalResumeOtherFileMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_OTHER_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_OTHER_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Professional).WithMany(t=>t.Nav_OtherFiles).HasForeignKey(t => t.PROFESSIONAL_RESUME_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumePostFile
|
||||
public partial class FOProfessionalResumePostFileMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_POST_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_POST_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Professional).WithMany(t=>t.Nav_PostFiles).HasForeignKey(t => t.PROFESSIONAL_RESUME_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ProfessionalResumeTrainFile
|
||||
public partial class FOProfessionalResumeTrainFileMap :APTEntityBaseMap<T_FO_PROFESSIONAL_RESUME_TRAIN_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_PROFESSIONAL_RESUME_TRAIN_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Professional).WithMany(t=>t.Nav_TrainFiles).HasForeignKey(t => t.PROFESSIONAL_RESUME_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Scheduling
|
||||
@ -1656,6 +2135,62 @@ builder.Property(t => t.DisclosureContent).HasMaxLength(2000);
|
||||
builder.Ignore(t => t.PUBLISH);
|
||||
builder.Ignore(t => t.IS_OVERTIME);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region TechDisclosureFromSafe
|
||||
public partial class FOTechDisclosureFromSafeMap :APTEntityBaseMap<T_FO_TECH_DISCLOSURE_FROM_SAFE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_TECH_DISCLOSURE_FROM_SAFE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.CODE).HasMaxLength(100);
|
||||
builder.Property(t => t.NAME).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_OperationStep).WithMany().HasForeignKey(t => t.OPERATION_STEP_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.JOB_LOCATION).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Department).WithMany().HasForeignKey(t => t.DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.DisclosureContent).HasMaxLength(2000);
|
||||
builder.Ignore(t => t.PUBLISH);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region TechDisclosureFromSafePerson
|
||||
public partial class FOTechDisclosureFromSafePersonMap :APTEntityBaseMap<T_FO_TECH_DISCLOSURE_FROM_SAFE_PERSON>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_TECH_DISCLOSURE_FROM_SAFE_PERSON> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_TechDisclosure).WithMany(t=>t.Nav_Person).HasForeignKey(t => t.TECH_DISCLOSURE_FROM_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region TechDisclosureFromTech
|
||||
public partial class FOTechDisclosureFromTechMap :APTEntityBaseMap<T_FO_TECH_DISCLOSURE_FROM_TECH>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_TECH_DISCLOSURE_FROM_TECH> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.CODE).HasMaxLength(100);
|
||||
builder.Property(t => t.NAME).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_OperationStep).WithMany().HasForeignKey(t => t.OPERATION_STEP_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.JOB_LOCATION).HasMaxLength(100);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Department).WithMany().HasForeignKey(t => t.DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.DisclosureContent).HasMaxLength(2000);
|
||||
builder.Ignore(t => t.PUBLISH);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region TechDisclosureFromTechPerson
|
||||
public partial class FOTechDisclosureFromTechPersonMap :APTEntityBaseMap<T_FO_TECH_DISCLOSURE_FROM_TECH_PERSON>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_TECH_DISCLOSURE_FROM_TECH_PERSON> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_TechDisclosure).WithMany(t=>t.Nav_Person).HasForeignKey(t => t.TECH_DISCLOSURE_FROM_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region TechDisclosurePerson
|
||||
@ -1668,6 +2203,27 @@ builder.Ignore(t => t.IS_OVERTIME);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_RelatedUser).WithMany().HasForeignKey(t => t.RELATED_USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region TechPost
|
||||
public partial class FOTechPostMap :APTEntityBaseMap<T_FO_TECH_POST>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_TECH_POST> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||
builder.HasOne(t => t.Nav_Category).WithMany().HasForeignKey(t => t.PROFESSIONAL_CATEGORY_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region UserType
|
||||
public partial class FOUserTypeMap :APTEntityBaseMap<T_FO_USER_TYPE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_FO_USER_TYPE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.NAME).HasMaxLength(500);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region EvaluationPlan
|
||||
|
||||
@ -200,6 +200,10 @@ namespace APT.MS.Domain.Entities.FO
|
||||
public T_SK_RISK_AREA Nav_Area { get; set; }
|
||||
|
||||
[Description("工作票附件")]
|
||||
public virtual ICollection<T_FO_CRUCIAL_LICENSE_JOB_FILE> Nav_Files { get; set; }
|
||||
public virtual ICollection<T_FO_CRUCIAL_LICENSE_JOB_FILE> Nav_Files { get; set; }
|
||||
|
||||
[Description("存在风险")]
|
||||
public virtual ICollection<T_FO_CRUCIAL_LICENSE_JOB_RISK> Nav_Risks { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,6 +3,8 @@ using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.HM;
|
||||
using APT.MS.Domain.Entities.OG;
|
||||
using APT.MS.Domain.Entities.SK;
|
||||
using APT.MS.Domain.Enums.SK;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@ -178,6 +180,27 @@ namespace APT.MS.Domain.Entities.FO
|
||||
/// 导航属性:相关方
|
||||
/// </summary>
|
||||
[Description("导航属性:相关方")]
|
||||
public T_OG_RELATED Nav_Related { get; set; }
|
||||
public T_OG_RELATED Nav_Related { get; set; }
|
||||
|
||||
[Description("作业等级")]
|
||||
[EnumName("SKEvaluateLevelEnum")]
|
||||
public SKEvaluateLevelEnum EVALUATE_LEVEL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业区域
|
||||
/// </summary>
|
||||
[Description("作业区域")]
|
||||
[DataFieldForeignKey("Nav_Area")]
|
||||
|
||||
public Guid? AREA_ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导航属性:作业区域
|
||||
/// </summary>
|
||||
[Description("导航属性:作业区域")]
|
||||
public T_SK_RISK_AREA Nav_Area { get; set; }
|
||||
|
||||
[Description("存在风险")]
|
||||
public virtual ICollection<T_FO_CRUCIAL_LICENSE_OUTSOURCE_RISK> Nav_Risks { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
28
APT.MS.Domain/Entities/FO/T_FO_CRUCIAL_LICENSE_JOB_RISK.cs
Normal file
28
APT.MS.Domain/Entities/FO/T_FO_CRUCIAL_LICENSE_JOB_RISK.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.SK;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("存在风险")]
|
||||
public class T_FO_CRUCIAL_LICENSE_JOB_RISK : MesEntityBase
|
||||
{
|
||||
[Description("关键许可工作表ID")]
|
||||
[DataFieldForeignKey("Nav_CrucialLicenseJob", "Nav_Risks")]
|
||||
public Guid CRUCIAL_LICENSE_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:关键许可工作表")]
|
||||
public virtual T_FO_CRUCIAL_LICENSE_JOB Nav_CrucialLicenseJob { get; set; }
|
||||
|
||||
[Description("企业库")]
|
||||
public Guid? ENTERPRISE_LIBRARY_ID { get; set; }
|
||||
|
||||
[Description("风险名称")]
|
||||
[DataFieldLength(20)]
|
||||
public string RISK_NAME { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("存在风险")]
|
||||
public class T_FO_CRUCIAL_LICENSE_OUTSOURCE_RISK : MesEntityBase
|
||||
{
|
||||
[Description("关键许可工作表ID")]
|
||||
[DataFieldForeignKey("Nav_CrucialLicenseJob", "Nav_Risks")]
|
||||
public Guid CRUCIAL_LICENSE_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:关键许可工作表")]
|
||||
public virtual T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE Nav_CrucialLicenseJob { get; set; }
|
||||
|
||||
[Description("企业库")]
|
||||
public Guid? ENTERPRISE_LIBRARY_ID { get; set; }
|
||||
|
||||
[Description("风险名称")]
|
||||
[DataFieldLength(20)]
|
||||
public string RISK_NAME { get; set; }
|
||||
}
|
||||
}
|
||||
18
APT.MS.Domain/Entities/FO/T_FO_EDUCATIONAL.cs
Normal file
18
APT.MS.Domain/Entities/FO/T_FO_EDUCATIONAL.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("学历表")]
|
||||
public class T_FO_EDUCATIONAL : MesEntityBase
|
||||
{
|
||||
[Description("学历")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public string NAME { get; set; }
|
||||
}
|
||||
}
|
||||
245
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB.cs
Normal file
245
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB.cs
Normal file
@ -0,0 +1,245 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums.PF;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.HM;
|
||||
using APT.MS.Domain.Entities.SK;
|
||||
using APT.MS.Domain.Enums;
|
||||
using APT.MS.Domain.Enums.SK;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("动火作业")]
|
||||
public class T_FO_FIRE_JOB : MesEntityBase
|
||||
{
|
||||
[Description("发起人")]
|
||||
[DataFieldForeignKey("Nav_ApplyUser")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? APPLY_USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:发起人")]
|
||||
public T_FM_USER Nav_ApplyUser { get; set; }
|
||||
[Description("发起部门")]
|
||||
[DataFieldForeignKey("Nav_ApplyDepartment")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? APPLY_DEPARTMENT_ID { get; set; }
|
||||
|
||||
[Description("导航属性:发起部门")]
|
||||
public T_FM_DEPARTMENT Nav_ApplyDepartment { get; set; }
|
||||
|
||||
[Description("公司")]
|
||||
[DataFieldForeignKey("Nav_Company")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? COMPANY_ID { get; set; }
|
||||
|
||||
[Description("导航属性:公司")]
|
||||
public T_FM_DEPARTMENT Nav_Company { get; set; }
|
||||
|
||||
[Description("生产单元")]
|
||||
[DataFieldForeignKey("Nav_ProductionUnit")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? PRODUCTION_UNIT_ID { get; set; }
|
||||
[Description("导航属性:生产单元")]
|
||||
public T_FM_USER_PRODUCTION_UNIT_SET Nav_ProductionUnit { get; set; }
|
||||
|
||||
[Description("编号")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public string CODE { get; set; }
|
||||
|
||||
[Description("作业名称")]
|
||||
[DataFieldForeignKey("Nav_OperationStep")]
|
||||
[FormFieldEdit]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public Guid? OPERATION_STEP_ID { get; set; }
|
||||
|
||||
[Description("导航属性:作业名称")]
|
||||
public T_HM_OPERATION_STEP Nav_OperationStep { get; set; }
|
||||
|
||||
[EnumName("HMOperationTaskAuditEnum")]
|
||||
[Description("审批层级")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
public int AUDIT_LEVEL { get; set; }
|
||||
|
||||
[Description("作业风险等级")]
|
||||
[EnumName("SKEvaluateLevelEnum")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
public SKEvaluateLevelEnum EVALUATE_LEVEL { get; set; }
|
||||
|
||||
[Description("动火负责人")]
|
||||
[DataFieldForeignKey("Nav_FireUser")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? FIRE_USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:动火负责人")]
|
||||
public T_FM_USER Nav_FireUser { get; set; }
|
||||
[Description("动火部门")]
|
||||
[DataFieldForeignKey("Nav_FireDepartment")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? FIRE_DEPARTMENT_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火部门")]
|
||||
public T_FM_DEPARTMENT Nav_FireDepartment { get; set; }
|
||||
|
||||
[Description("安全生产管理人员")]
|
||||
[DataFieldForeignKey("Nav_SafeUser")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? SAFE_USER_ID { get; set; }
|
||||
[Description("导航属性:安全生产管理人员")]
|
||||
public T_FM_USER Nav_SafeUser { get; set; }
|
||||
[Description("动火区域")]
|
||||
[DataFieldForeignKey("Nav_Area")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
|
||||
public Guid? AREA_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火区域")]
|
||||
public T_SK_RISK_AREA Nav_Area { get; set; }
|
||||
|
||||
[Description("动火地点")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(100)]
|
||||
public string JOB_LOCATION { get; set; }
|
||||
|
||||
[Description("动火方式")]
|
||||
[DataFieldForeignKey("Nav_Type")]
|
||||
[FormFieldEdit]
|
||||
|
||||
public Guid? TYPE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火方式")]
|
||||
public T_FO_FIRE_TYPE Nav_Type { get; set; }
|
||||
|
||||
[Description("动火具体事项")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string JOB_CONTENT { get; set; }
|
||||
[Description("作业监护人")]
|
||||
[DataFieldForeignKey("Nav_MonitorUser")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public Guid? MONITOR_USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:作业监护人")]
|
||||
public virtual T_FM_USER Nav_MonitorUser { get; set; }
|
||||
|
||||
[Description("动火计划开始时间")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_DATE { get; set; }
|
||||
|
||||
[Description("动火计划结束时间")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_END_DATE { get; set; }
|
||||
|
||||
[Description("存在风险")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_RISK> Nav_Risks { get; set; }
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_FILE> Nav_Files { get; set; }
|
||||
[Description("导航属性:作业人员")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_FIRE_JOB_USER> Nav_Users { get; set; }
|
||||
|
||||
[Description("导航属性:作业前中后")]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_DETAIL> Nav_Details { get; set; }
|
||||
[Description("动火作业现场条件验收情况")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(200)]
|
||||
public string COMPLETED_CONDITION { get; set; }
|
||||
|
||||
[Description("是否可以动火")]
|
||||
[EnumName("FOYesOrNoEnum")]
|
||||
public FOYesOrNoEnum? IS_FIRE { get; set; }
|
||||
|
||||
|
||||
[Description("动火实际开始时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? ACT_DATE { get; set; }
|
||||
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_FIRE_FILE> Nav_FireFiles { get; set; }
|
||||
[Description("负责人签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? USER_DEAL_STATUS { get; set; }
|
||||
[Description("安全管理人员签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? SAFE_DEAL_STATUS { get; set; }
|
||||
[Description("矿调度人员")]
|
||||
[DataFieldForeignKey("Nav_DispatchUser")]
|
||||
[FormFieldEdit]
|
||||
public Guid? DISPATCH_USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:矿调度人员")]
|
||||
public virtual T_FM_USER Nav_DispatchUser { get; set; }
|
||||
|
||||
[Description("矿调度人员签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? DISPATCH_DEAL_STATUS { get; set; }
|
||||
[Description("动火作业完工验收情况")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(200)]
|
||||
public string COMPLETED_CONTENT { get; set; }
|
||||
|
||||
[Description("是否可以撤离")]
|
||||
[EnumName("FOYesOrNoEnum")]
|
||||
public FOYesOrNoEnum? IS_LEAVE { get; set; }
|
||||
|
||||
[Description("动火实际结束时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? ACT_END_DATE { get; set; }
|
||||
|
||||
[Description("离开现场时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? LEAVE_DATE { get; set; }
|
||||
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_MONITOR_FILE> Nav_MonitorFiles { get; set; }
|
||||
|
||||
[Description("负责人签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? USER_DEAL_FINISH_STATUS { get; set; }
|
||||
[Description("安全管理人员签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? SAFE_DEAL_FINISH_STATUS { get; set; }
|
||||
|
||||
[Description("单据状态")]
|
||||
[EnumName("PFStandardStatus")]
|
||||
public PFStandardStatus STATUS { get; set; }
|
||||
|
||||
[Description("提交并通知")]
|
||||
[DataFieldIngore]
|
||||
public string PUBLISH { get; set; }
|
||||
}
|
||||
}
|
||||
38
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_DETAIL.cs
Normal file
38
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_DETAIL.cs
Normal file
@ -0,0 +1,38 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("作业明细表(前中后)")]
|
||||
public class T_FO_FIRE_JOB_DETAIL : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Details")]
|
||||
public Guid FIRE_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB Nav_Job { get; set; }
|
||||
|
||||
[Description("作业阶段")]
|
||||
[EnumName("FOJobStepEnum")]
|
||||
[FormFieldEdit]
|
||||
public FOJobStepEnum? JOB_STEP { get; set; }
|
||||
|
||||
[Description("作业阶段")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string CONTENT { get; set; }
|
||||
|
||||
[Description("是否确认")]
|
||||
[EnumName("FOYesOrNoEnum")]
|
||||
public FOYesOrNoEnum? IS_CONFIRM { get; set; }
|
||||
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_DETAIL_FILE> Nav_DetailFiles { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_DETAIL_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_DETAIL_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_DETAIL_FILE : MesEntityBase
|
||||
{
|
||||
[Description("作业前中后")]
|
||||
[DataFieldForeignKey("Nav_Detail", "Nav_DetailFiles")]
|
||||
public Guid FIRE_JOB_DETAIL_ID { get; set; }
|
||||
|
||||
[Description("导航属性:作业前中后")]
|
||||
public virtual T_FO_FIRE_JOB_DETAIL Nav_Detail { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Files")]
|
||||
public Guid FIRE_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_FIRE_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_FIRE_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_FIRE_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_FireFiles")]
|
||||
public Guid FIRE_JOB_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_MONITOR_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_MONITOR_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_MONITOR_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_MonitorFiles")]
|
||||
public Guid FIRE_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
26
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_RISK.cs
Normal file
26
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_RISK.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("存在风险")]
|
||||
public class T_FO_FIRE_JOB_RISK : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Risks")]
|
||||
public Guid FIRE_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB Nav_Job { get; set; }
|
||||
|
||||
[Description("企业库")]
|
||||
public Guid? ENTERPRISE_LIBRARY_ID { get; set; }
|
||||
|
||||
[Description("风险名称")]
|
||||
[DataFieldLength(20)]
|
||||
public string RISK_NAME { get; set; }
|
||||
}
|
||||
}
|
||||
53
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_USER.cs
Normal file
53
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_USER.cs
Normal file
@ -0,0 +1,53 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.OG;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("作业人员表")]
|
||||
public class T_FO_FIRE_JOB_USER : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Users")]
|
||||
public Guid FIRE_JOB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB Nav_Job { get; set; }
|
||||
|
||||
[Description("人员ID")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldEdit]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:人员")]
|
||||
public virtual T_FM_USER Nav_User { get; set; }
|
||||
[Description("处理状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum DEAL_STATUS { get; set; }
|
||||
|
||||
[Description("人员类别")]
|
||||
[DataFieldForeignKey("Nav_UserType")]
|
||||
[FormFieldEdit]
|
||||
public Guid? USER_TYPE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:人员类别")]
|
||||
public virtual T_FO_USER_TYPE Nav_UserType { get; set; }
|
||||
|
||||
[Description("证件名称")]
|
||||
[DataFieldLength(100)]
|
||||
public string CERTIFICATE_NAME { get; set; }
|
||||
|
||||
[Description("证件编号")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(50)]
|
||||
public string CERTIFICATE_CODE { get; set; }
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_USER_FILE> Nav_UserFiles { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_USER_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_USER_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_USER_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_UserFiles")]
|
||||
public Guid FIRE_JOB_USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_USER Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
237
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB.cs
Normal file
237
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB.cs
Normal file
@ -0,0 +1,237 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums.PF;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.HM;
|
||||
using APT.MS.Domain.Entities.OG;
|
||||
using APT.MS.Domain.Entities.SK;
|
||||
using APT.MS.Domain.Enums;
|
||||
using APT.MS.Domain.Enums.SK;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("动火作业(外包)")]
|
||||
public class T_FO_FIRE_JOB_WB : MesEntityBase
|
||||
{
|
||||
[Description("发起人")]
|
||||
[DataFieldForeignKey("Nav_ApplyUser")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? APPLY_USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:发起人")]
|
||||
public T_FM_USER Nav_ApplyUser { get; set; }
|
||||
[Description("发起部门")]
|
||||
[DataFieldForeignKey("Nav_ApplyDepartment")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? APPLY_DEPARTMENT_ID { get; set; }
|
||||
|
||||
[Description("导航属性:发起部门")]
|
||||
public T_FM_DEPARTMENT Nav_ApplyDepartment { get; set; }
|
||||
|
||||
[Description("公司")]
|
||||
[DataFieldForeignKey("Nav_Company")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? COMPANY_ID { get; set; }
|
||||
|
||||
[Description("导航属性:公司")]
|
||||
public T_FM_DEPARTMENT Nav_Company { get; set; }
|
||||
|
||||
[Description("生产单元")]
|
||||
[DataFieldForeignKey("Nav_ProductionUnit")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? PRODUCTION_UNIT_ID { get; set; }
|
||||
[Description("导航属性:生产单元")]
|
||||
public T_FM_USER_PRODUCTION_UNIT_SET Nav_ProductionUnit { get; set; }
|
||||
|
||||
[Description("编号")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public string CODE { get; set; }
|
||||
|
||||
[Description("作业名称")]
|
||||
[DataFieldForeignKey("Nav_OperationStep")]
|
||||
[FormFieldEdit]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public Guid? OPERATION_STEP_ID { get; set; }
|
||||
|
||||
[Description("导航属性:作业名称")]
|
||||
public T_HM_OPERATION_STEP Nav_OperationStep { get; set; }
|
||||
|
||||
[EnumName("HMOperationTaskAuditEnum")]
|
||||
[Description("审批层级")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
public int AUDIT_LEVEL { get; set; }
|
||||
|
||||
[Description("作业风险等级")]
|
||||
[EnumName("SKEvaluateLevelEnum")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
public SKEvaluateLevelEnum EVALUATE_LEVEL { get; set; }
|
||||
|
||||
[Description("相关方基本信息表")]
|
||||
public Guid? RELATED_ID { get; set; }
|
||||
|
||||
[Description("施工单位")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
[DataFieldLength(100)]
|
||||
public string DPARTMENT_NAME { get; set; }
|
||||
|
||||
[Description("施工单位负责人")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(50)]
|
||||
public string USER_NAME { get; set; }
|
||||
[Description("负责人电话号码")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(11)]
|
||||
public int? USER_PHONE { get; set; }
|
||||
|
||||
|
||||
[Description("安全生产管理人员")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(50)]
|
||||
public string SAFE_USER_NAME { get; set; }
|
||||
[Description("安全员电话号码")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(11)]
|
||||
public int? SAFE_USER_PHONE { get; set; }
|
||||
[Description("动火区域")]
|
||||
[DataFieldForeignKey("Nav_Area")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
|
||||
public Guid? AREA_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火区域")]
|
||||
public T_SK_RISK_AREA Nav_Area { get; set; }
|
||||
|
||||
[Description("动火地点")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(100)]
|
||||
public string JOB_LOCATION { get; set; }
|
||||
|
||||
[Description("动火方式")]
|
||||
[DataFieldForeignKey("Nav_Type")]
|
||||
[FormFieldEdit]
|
||||
|
||||
public Guid? TYPE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火方式")]
|
||||
public T_FO_FIRE_TYPE Nav_Type { get; set; }
|
||||
|
||||
[Description("动火具体事项")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string JOB_CONTENT { get; set; }
|
||||
[Description("作业监护人")]
|
||||
[DataFieldForeignKey("Nav_MonitorUser")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public Guid? MONITOR_USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:作业监护人")]
|
||||
public virtual T_FM_USER Nav_MonitorUser { get; set; }
|
||||
|
||||
[Description("动火计划开始时间")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_DATE { get; set; }
|
||||
|
||||
[Description("动火计划结束时间")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_END_DATE { get; set; }
|
||||
|
||||
[Description("存在风险")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_WB_RISK> Nav_Risks { get; set; }
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_WB_FILE> Nav_Files { get; set; }
|
||||
[Description("导航属性:作业人员")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_FIRE_JOB_WB_USER> Nav_Users { get; set; }
|
||||
|
||||
[Description("导航属性:作业前中后")]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_WB_DETAIL> Nav_Details { get; set; }
|
||||
[Description("动火作业现场条件验收情况")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(200)]
|
||||
public string COMPLETED_CONDITION { get; set; }
|
||||
|
||||
[Description("是否可以动火")]
|
||||
[EnumName("FOYesOrNoEnum")]
|
||||
public FOYesOrNoEnum? IS_FIRE { get; set; }
|
||||
|
||||
|
||||
[Description("动火实际开始时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? ACT_DATE { get; set; }
|
||||
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_WB_FIRE_FILE> Nav_FireFiles { get; set; }
|
||||
[Description("负责人签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? USER_DEAL_STATUS { get; set; }
|
||||
[Description("安全管理人员签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? SAFE_DEAL_STATUS { get; set; }
|
||||
[Description("动火作业完工验收情况")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(200)]
|
||||
public string COMPLETED_CONTENT { get; set; }
|
||||
|
||||
[Description("是否可以撤离")]
|
||||
[EnumName("FOYesOrNoEnum")]
|
||||
public FOYesOrNoEnum? IS_LEAVE { get; set; }
|
||||
|
||||
[Description("动火实际结束时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? ACT_END_DATE { get; set; }
|
||||
|
||||
[Description("离开现场时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? LEAVE_DATE { get; set; }
|
||||
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_WB_MONITOR_FILE> Nav_MonitorFiles { get; set; }
|
||||
|
||||
[Description("负责人签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? USER_DEAL_FINISH_STATUS { get; set; }
|
||||
[Description("安全管理人员签字状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? SAFE_DEAL_FINISH_STATUS { get; set; }
|
||||
|
||||
[Description("单据状态")]
|
||||
[EnumName("PFStandardStatus")]
|
||||
public PFStandardStatus STATUS { get; set; }
|
||||
|
||||
[Description("提交并通知")]
|
||||
[DataFieldIngore]
|
||||
public string PUBLISH { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
38
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_DETAIL.cs
Normal file
38
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_DETAIL.cs
Normal file
@ -0,0 +1,38 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("作业明细表(前中后)")]
|
||||
public class T_FO_FIRE_JOB_WB_DETAIL : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Details")]
|
||||
public Guid FIRE_JOB_WB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_WB Nav_Job { get; set; }
|
||||
|
||||
[Description("作业阶段")]
|
||||
[EnumName("FOJobStepEnum")]
|
||||
[FormFieldEdit]
|
||||
public FOJobStepEnum? JOB_STEP { get; set; }
|
||||
|
||||
[Description("作业阶段")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string CONTENT { get; set; }
|
||||
|
||||
[Description("是否确认")]
|
||||
[EnumName("FOYesOrNoEnum")]
|
||||
public FOYesOrNoEnum? IS_CONFIRM { get; set; }
|
||||
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_WB_DETAIL_FILE> Nav_DetailFiles { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_DETAIL_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_DETAIL_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_WB_DETAIL_FILE : MesEntityBase
|
||||
{
|
||||
[Description("作业前中后")]
|
||||
[DataFieldForeignKey("Nav_Detail", "Nav_DetailFiles")]
|
||||
public Guid FIRE_JOB_WB_DETAIL_ID { get; set; }
|
||||
|
||||
[Description("导航属性:作业前中后")]
|
||||
public virtual T_FO_FIRE_JOB_WB_DETAIL Nav_Detail { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_WB_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Files")]
|
||||
public Guid FIRE_JOB_WB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_WB Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_FIRE_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_FIRE_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_WB_FIRE_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_FireFiles")]
|
||||
public Guid FIRE_JOB_WB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_WB Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_MONITOR_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_MONITOR_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_WB_MONITOR_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_MonitorFiles")]
|
||||
public Guid FIRE_JOB_WB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_WB Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
26
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_RISK.cs
Normal file
26
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_RISK.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("存在风险")]
|
||||
public class T_FO_FIRE_JOB_WB_RISK : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Risks")]
|
||||
public Guid FIRE_JOB_WB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_WB Nav_Job { get; set; }
|
||||
|
||||
[Description("企业库")]
|
||||
public Guid? ENTERPRISE_LIBRARY_ID { get; set; }
|
||||
|
||||
[Description("风险名称")]
|
||||
[DataFieldLength(20)]
|
||||
public string RISK_NAME { get; set; }
|
||||
}
|
||||
}
|
||||
57
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_USER.cs
Normal file
57
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_USER.cs
Normal file
@ -0,0 +1,57 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("作业人员表")]
|
||||
public class T_FO_FIRE_JOB_WB_USER : MesEntityBase
|
||||
{
|
||||
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_Users")]
|
||||
public Guid FIRE_JOB_WB_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_WB Nav_Job { get; set; }
|
||||
[Description("处理状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum DEAL_STATUS { get; set; }
|
||||
|
||||
[Description("人员类别")]
|
||||
[DataFieldForeignKey("Nav_UserType")]
|
||||
[FormFieldEdit]
|
||||
public Guid? USER_TYPE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:人员类别")]
|
||||
public virtual T_FO_USER_TYPE Nav_UserType { get; set; }
|
||||
|
||||
[Description("证件名称")]
|
||||
[DataFieldLength(100)]
|
||||
public string CERTIFICATE_NAME { get; set; }
|
||||
|
||||
[Description("证件编号")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(50)]
|
||||
public string CERTIFICATE_CODE { get; set; }
|
||||
|
||||
[Description("作业人员")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(50)]
|
||||
public string USER_NAME { get; set; }
|
||||
|
||||
[Description("内部人员")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:人员")]
|
||||
public virtual T_FM_USER Nav_User { get; set; }
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public virtual ICollection<T_FO_FIRE_JOB_WB_USER_FILE> Nav_UserFiles { get; set; }
|
||||
}
|
||||
}
|
||||
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_USER_FILE.cs
Normal file
27
APT.MS.Domain/Entities/FO/T_FO_FIRE_JOB_WB_USER_FILE.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_FIRE_JOB_WB_USER_FILE : MesEntityBase
|
||||
{
|
||||
[Description("动火作业")]
|
||||
[DataFieldForeignKey("Nav_Job", "Nav_UserFiles")]
|
||||
public Guid FIRE_JOB_WB_USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:动火作业")]
|
||||
public virtual T_FO_FIRE_JOB_WB_USER Nav_Job { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
19
APT.MS.Domain/Entities/FO/T_FO_FIRE_TYPE.cs
Normal file
19
APT.MS.Domain/Entities/FO/T_FO_FIRE_TYPE.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("动火方式")]
|
||||
public class T_FO_FIRE_TYPE : MesEntityBase
|
||||
{
|
||||
|
||||
[Description("名称")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public string NAME { get; set; }
|
||||
}
|
||||
}
|
||||
90
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD.cs
Normal file
90
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD.cs
Normal file
@ -0,0 +1,90 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("领导带班下井记录")]
|
||||
public class T_FO_LEADER_WELL_RECORD : MesEntityBase
|
||||
{
|
||||
[Description("发起人")]
|
||||
[DataFieldForeignKey("Nav_ApplyUser")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? APPLY_USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:发起人")]
|
||||
public T_FM_USER Nav_ApplyUser { get; set; }
|
||||
[Description("发起部门")]
|
||||
[DataFieldForeignKey("Nav_ApplyDepartment")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? APPLY_DEPARTMENT_ID { get; set; }
|
||||
|
||||
[Description("导航属性:发起部门")]
|
||||
public T_FM_DEPARTMENT Nav_ApplyDepartment { get; set; }
|
||||
|
||||
[Description("公司")]
|
||||
[DataFieldForeignKey("Nav_Company")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? COMPANY_ID { get; set; }
|
||||
|
||||
[Description("导航属性:公司")]
|
||||
public T_FM_DEPARTMENT Nav_Company { get; set; }
|
||||
|
||||
[Description("生产单元")]
|
||||
[DataFieldForeignKey("Nav_ProductionUnit")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? PRODUCTION_UNIT_ID { get; set; }
|
||||
[Description("导航属性:生产单元")]
|
||||
public T_FM_USER_PRODUCTION_UNIT_SET Nav_ProductionUnit { get; set; }
|
||||
|
||||
[Description("导航属性:值班领导")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_LEADER_WELL_RECORD_USER> Nav_Users { get; set; }
|
||||
|
||||
|
||||
[Description("值班开始时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_START_DATE { get; set; }
|
||||
[Description("值班结束时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_END_DATE { get; set; }
|
||||
|
||||
[Description("班次")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
[DataFieldForeignKey("Nav_Class")]
|
||||
public Guid? CLASS_ID { get; set; }
|
||||
[Description("导航:班次")]
|
||||
public T_FM_CLASS Nav_Class { get; set; }
|
||||
|
||||
[Description("导航属性:附件")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_LEADER_WELL_RECORD_FILE> Nav_Files { get; set; }
|
||||
|
||||
[Description("导航属性:明细表")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_LEADER_WELL_RECORD_DETAIL> Nav_Details { get; set; }
|
||||
|
||||
[Description("单据状态")]
|
||||
[EnumName("FOStatusEnum")]
|
||||
public FOStatusEnum? STATUS { get; set; }
|
||||
|
||||
[Description("提交并通知")]
|
||||
[DataFieldIngore]
|
||||
public string PUBLISH { get; set; }
|
||||
}
|
||||
}
|
||||
99
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD_DETAIL.cs
Normal file
99
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD_DETAIL.cs
Normal file
@ -0,0 +1,99 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("明细表")]
|
||||
public class T_FO_LEADER_WELL_RECORD_DETAIL : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Record", "Nav_Details")]
|
||||
public Guid LEADER_WELL_RECORD_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_LEADER_WELL_RECORD Nav_Record { get; set; }
|
||||
|
||||
[Description("开始时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? START_DATE { get; set; }
|
||||
[Description("结束时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? END_DATE { get; set; }
|
||||
|
||||
[Description("导航属性:巡视区域")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_LEADER_WELL_RECORD_DETAIL_AREA> Nav_DetailAreas { get; set; }
|
||||
|
||||
|
||||
[Description("现场情况描述")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string DESCRIPTION { get; set; }
|
||||
[Description("发现问题")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string QUESTION { get; set; }
|
||||
|
||||
[Description("处置措施")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string MEASURE { get; set; }
|
||||
|
||||
[Description("导航属性:附件")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_LEADER_WELL_RECORD_DETAIL_FILE> Nav_DetailFiles { get; set; }
|
||||
|
||||
[Description("现场责任人")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldEdit]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:现场责任人")]
|
||||
public T_FM_USER Nav_User { get; set; }
|
||||
|
||||
[Description("处理状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? USER_DEAL_STATUS { get; set; }
|
||||
|
||||
[Description("交接事项")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string ITEM { get; set; }
|
||||
|
||||
[Description("交接地点")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(50)]
|
||||
public string PLACE { get; set; }
|
||||
|
||||
[Description("交班人")]
|
||||
[DataFieldForeignKey("Nav_PreUser")]
|
||||
[FormFieldEdit]
|
||||
public Guid? PRE_USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:交班人")]
|
||||
public T_FM_USER Nav_PreUser { get; set; }
|
||||
|
||||
[Description("处理状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? PRE_USER_DEAL_STATUS { get; set; }
|
||||
|
||||
[Description("接班人")]
|
||||
[DataFieldForeignKey("Nav_AfterUser")]
|
||||
[FormFieldEdit]
|
||||
public Guid? AFTER_USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:接班人")]
|
||||
public T_FM_USER Nav_AfterUser { get; set; }
|
||||
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum? AFTER_USER_DEAL_STATUS { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.SK;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("巡视区域表")]
|
||||
public class T_FO_LEADER_WELL_RECORD_DETAIL_AREA : MesEntityBase
|
||||
{
|
||||
[Description("明细表")]
|
||||
[DataFieldForeignKey("Nav_Detail", "Nav_DetailAreas")]
|
||||
public Guid LEADER_WELL_RECORD_DETAIL_ID { get; set; }
|
||||
|
||||
[Description("导航属性:明细表")]
|
||||
public virtual T_FO_LEADER_WELL_RECORD_DETAIL Nav_Detail { get; set; }
|
||||
|
||||
[Description("辨识区域")]
|
||||
[DataFieldForeignKey("Nav_Area")]
|
||||
[FormFieldEdit]
|
||||
|
||||
public Guid? AREA_ID { get; set; }
|
||||
[Description("导航属性:辨识区域")]
|
||||
public T_SK_RISK_AREA Nav_Area { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件表")]
|
||||
public class T_FO_LEADER_WELL_RECORD_DETAIL_FILE : MesEntityBase
|
||||
{
|
||||
|
||||
[Description("明细表")]
|
||||
[DataFieldForeignKey("Nav_Detail", "Nav_DetailFiles")]
|
||||
public Guid LEADER_WELL_RECORD_DETAIL_ID { get; set; }
|
||||
|
||||
[Description("导航属性:明细表")]
|
||||
public virtual T_FO_LEADER_WELL_RECORD_DETAIL Nav_Detail { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
29
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD_FILE.cs
Normal file
29
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD_FILE.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("附件")]
|
||||
public class T_FO_LEADER_WELL_RECORD_FILE : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Record", "Nav_Files")]
|
||||
public Guid LEADER_WELL_RECORD_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_LEADER_WELL_RECORD Nav_Record { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
34
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD_USER.cs
Normal file
34
APT.MS.Domain/Entities/FO/T_FO_LEADER_WELL_RECORD_USER.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("值班领导")]
|
||||
public class T_FO_LEADER_WELL_RECORD_USER: MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Record", "Nav_Users")]
|
||||
public Guid LEADER_WELL_RECORD_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_LEADER_WELL_RECORD Nav_Record { get; set; }
|
||||
|
||||
[Description("人员")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldEdit]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:人员")]
|
||||
public T_FM_USER Nav_User { get; set; }
|
||||
|
||||
[Description("处理状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum DEAL_STATUS { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
18
APT.MS.Domain/Entities/FO/T_FO_PROFESSIONAL_CATEGORY.cs
Normal file
18
APT.MS.Domain/Entities/FO/T_FO_PROFESSIONAL_CATEGORY.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("专业类别表")]
|
||||
public class T_FO_PROFESSIONAL_CATEGORY : MesEntityBase
|
||||
{
|
||||
[Description("名称")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public string NAME { get; set; }
|
||||
}
|
||||
}
|
||||
150
APT.MS.Domain/Entities/FO/T_FO_PROFESSIONAL_RESUME.cs
Normal file
150
APT.MS.Domain/Entities/FO/T_FO_PROFESSIONAL_RESUME.cs
Normal file
@ -0,0 +1,150 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("专业人员履历表")]
|
||||
public class T_FO_PROFESSIONAL_RESUME : MesEntityBase
|
||||
{
|
||||
[Description("发起人")]
|
||||
[DataFieldForeignKey("Nav_ApplyUser")]
|
||||
public Guid? APPLY_USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:发起人")]
|
||||
public T_FM_USER Nav_ApplyUser { get; set; }
|
||||
[Description("发起部门")]
|
||||
[DataFieldForeignKey("Nav_ApplyDepartment")]
|
||||
public Guid? APPLY_DEPARTMENT_ID { get; set; }
|
||||
|
||||
[Description("导航属性:发起部门")]
|
||||
public T_FM_DEPARTMENT Nav_ApplyDepartment { get; set; }
|
||||
|
||||
|
||||
[Description("公司")]
|
||||
[DataFieldForeignKey("Nav_Company")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? COMPANY_ID { get; set; }
|
||||
|
||||
[Description("导航属性:公司")]
|
||||
public T_FM_DEPARTMENT Nav_Company { get; set; }
|
||||
|
||||
[Description("姓名")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:姓名")]
|
||||
public T_FM_USER Nav_User { get; set; }
|
||||
|
||||
[Description("工号")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
[DataFieldLength(30)]
|
||||
public string CODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 性别
|
||||
/// </summary>
|
||||
[Description("性别")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
[EnumName("FMSexEnum")]
|
||||
public int SEX { get; set; }
|
||||
/// <summary>
|
||||
/// 年龄(周岁)
|
||||
/// </summary>
|
||||
[Description("年龄(周岁)")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public int? AGE { get; set; }
|
||||
[Description("学历")]
|
||||
[DataFieldForeignKey("Nav_Educational")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? EDUCATIONAL_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:学历")]
|
||||
public T_FO_EDUCATIONAL Nav_Educational { get; set; }
|
||||
|
||||
[Description("毕业院校")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldEdit]
|
||||
public string SCHOOL { get; set; }
|
||||
[Description("所学专业")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldEdit]
|
||||
public string MAJOR { get; set; }
|
||||
|
||||
[Description("毕业时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? GRADUATION_DATE { get; set; }
|
||||
|
||||
[Description("矿山一线从业经历累计年限(年)")]
|
||||
[FormFieldEdit]
|
||||
public int? YEAR { get; set; }
|
||||
[Description("专业类别")]
|
||||
[DataFieldForeignKey("Nav_Category")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? PROFESSIONAL_CATEGORY_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:专业类别")]
|
||||
public T_FO_PROFESSIONAL_CATEGORY Nav_Category { get; set; }
|
||||
[Description("现任技术职务")]
|
||||
[DataFieldForeignKey("Nav_TechPost")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? TECH_POST_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:现任技术职务")]
|
||||
public T_FO_TECH_POST Nav_TechPost { get; set; }
|
||||
|
||||
[Description("任职开始时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_START_DATE { get; set; }
|
||||
[Description("任职结束时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? JOB_END_DATE { get; set; }
|
||||
|
||||
[Description("导航属性:学历学位证书")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE> Nav_EducationalFiles { get; set; }
|
||||
[Description("导航属性:职称证书")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_POST_FILE> Nav_PostFiles { get; set; }
|
||||
[Description("导航属性:资格证(矿长/安全)")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE> Nav_CertificateFiles { get; set; }
|
||||
|
||||
[Description("导航属性:任职期间的职业健康体检报告")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE> Nav_MedicalFiles { get; set; }
|
||||
[Description("导航属性:任职期间的安全培训考核")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_TRAIN_FILE> Nav_TrainFiles { get; set; }
|
||||
[Description("导航属性:其他资料")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_OTHER_FILE> Nav_OtherFiles { get; set; }
|
||||
[Description("导航属性:履历明细")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_DETAIL> Nav_Details { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("资格证(矿长/安全)")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Professional", "Nav_CertificateFiles")]
|
||||
public Guid PROFESSIONAL_RESUME_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME Nav_Professional { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
58
APT.MS.Domain/Entities/FO/T_FO_PROFESSIONAL_RESUME_DETAIL.cs
Normal file
58
APT.MS.Domain/Entities/FO/T_FO_PROFESSIONAL_RESUME_DETAIL.cs
Normal file
@ -0,0 +1,58 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("履历明细表")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_DETAIL : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Professional", "Nav_Details")]
|
||||
public Guid PROFESSIONAL_RESUME_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME Nav_Professional { get; set; }
|
||||
[Description("序号")]
|
||||
[FormFieldEdit]
|
||||
public int? NUM { get; set; }
|
||||
[Description("工作单位")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(100)]
|
||||
public string UNIT { get; set; }
|
||||
[Description("开始时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? START_DATE { get; set; }
|
||||
[Description("结束时间")]
|
||||
[FormFieldEdit]
|
||||
public DateTime? END_DATE { get; set; }
|
||||
[Description("工作年限")]
|
||||
[FormFieldEdit]
|
||||
public decimal? WORK_YEAR { get; set; }
|
||||
|
||||
[Description("工作职务")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(100)]
|
||||
public string WORK_POST { get; set; }
|
||||
[Description("岗位职责")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string POST_DUTY { get; set; }
|
||||
|
||||
[Description("工作成就")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string WORK_ACHIEVEMENT { get; set; }
|
||||
|
||||
[Description("技能提升")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(500)]
|
||||
public string SKILL_IMPROVE { get; set; }
|
||||
|
||||
[Description("导航属性:证明材料")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_PROFESSIONAL_RESUME_DETAIL_FILE> Nav_DetailFiles { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("证明材料")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_DETAIL_FILE : MesEntityBase
|
||||
{
|
||||
[Description("明细表ID")]
|
||||
[DataFieldForeignKey("Nav_Detail", "Nav_DetailFiles")]
|
||||
public Guid PROFESSIONAL_RESUME_DETAIL_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME_DETAIL Nav_Detail { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("导航属性:学历学位证书")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE:MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Professional", "Nav_EducationalFiles")]
|
||||
public Guid PROFESSIONAL_RESUME_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME Nav_Professional { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("任职期间的职业健康体检报告")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Professional", "Nav_MedicalFiles")]
|
||||
public Guid PROFESSIONAL_RESUME_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME Nav_Professional { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("其他资料")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_OTHER_FILE : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Professional", "Nav_OtherFiles")]
|
||||
public Guid PROFESSIONAL_RESUME_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME Nav_Professional { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("职称证书")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_POST_FILE : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Professional", "Nav_PostFiles")]
|
||||
public Guid PROFESSIONAL_RESUME_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME Nav_Professional { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("任职期间的安全培训考核")]
|
||||
public class T_FO_PROFESSIONAL_RESUME_TRAIN_FILE : MesEntityBase
|
||||
{
|
||||
[Description("主表ID")]
|
||||
[DataFieldForeignKey("Nav_Professional", "Nav_TrainFiles")]
|
||||
public Guid PROFESSIONAL_RESUME_ID { get; set; }
|
||||
|
||||
[Description("导航属性:主表")]
|
||||
public virtual T_FO_PROFESSIONAL_RESUME Nav_Professional { get; set; }
|
||||
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
[Description("图片文件ID")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("导航:图片文件表")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
95
APT.MS.Domain/Entities/FO/T_FO_TECH_DISCLOSURE_FROM_SAFE.cs
Normal file
95
APT.MS.Domain/Entities/FO/T_FO_TECH_DISCLOSURE_FROM_SAFE.cs
Normal file
@ -0,0 +1,95 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.HM;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("安全交底表")]
|
||||
[DataRuleField("DEPARTMENT_ID")]
|
||||
public class T_FO_TECH_DISCLOSURE_FROM_SAFE : MesEntityBase
|
||||
{
|
||||
[Description("编号")]
|
||||
[DataFieldLength(100)]
|
||||
public string CODE { get; set; }
|
||||
|
||||
[Description("交底事项")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
public string NAME { get; set; }
|
||||
/// <summary>
|
||||
/// 作业名称
|
||||
/// </summary>
|
||||
[Description("作业名称")]
|
||||
[DataFieldForeignKey("Nav_OperationStep")]
|
||||
public Guid? OPERATION_STEP_ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导航属性:作业名称
|
||||
/// </summary>
|
||||
[Description("导航属性:作业名称")]
|
||||
public T_HM_OPERATION_STEP Nav_OperationStep { get; set; }
|
||||
|
||||
|
||||
[Description("交底时间")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public DateTime? DISCLOSURE_DATE { get; set; }
|
||||
|
||||
[Description("交底地点")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public string JOB_LOCATION { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("交底人")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:交底人")]
|
||||
public T_FM_USER Nav_User { get; set; }
|
||||
[Description("交底人部门")]
|
||||
[DataFieldForeignKey("Nav_Department")]
|
||||
[FormFieldEdit]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public Guid? DEPARTMENT_ID { get; set; }
|
||||
|
||||
[Description("导航属性:交底人部门")]
|
||||
public T_FM_DEPARTMENT Nav_Department { get; set; }
|
||||
|
||||
[Description("交底内容")]
|
||||
[DataFieldLength(2000)]
|
||||
[FormFieldEdit]
|
||||
public string DisclosureContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表单状态
|
||||
/// </summary>
|
||||
[EnumName("FOTeamActivityState")]
|
||||
[Description("表单状态")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public int FORM_STATUS { get; set; }
|
||||
|
||||
[Description("提交并通知")]
|
||||
[DataFieldIngore]
|
||||
public string PUBLISH { get; set; }
|
||||
|
||||
[Description("导航属性:被交底人")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_TECH_DISCLOSURE_FROM_SAFE_PERSON> Nav_Person { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("被交底人")]
|
||||
public class T_FO_TECH_DISCLOSURE_FROM_SAFE_PERSON : MesEntityBase
|
||||
{
|
||||
[Description("技术交底表ID")]
|
||||
[DataFieldForeignKey("Nav_TechDisclosure", "Nav_Person")]
|
||||
public Guid TECH_DISCLOSURE_FROM_ID { get; set; }
|
||||
|
||||
[Description("导航属性:技术交底表")]
|
||||
public virtual T_FO_TECH_DISCLOSURE_FROM_SAFE Nav_TechDisclosure { get; set; }
|
||||
|
||||
[Description("人员ID")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldEdit]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:人员")]
|
||||
public virtual T_FM_USER Nav_User { get; set; }
|
||||
|
||||
[Description("处理状态")]
|
||||
[FormFieldEdit]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
public FOUserShiftStatusEnum DEAL_STATUS { get; set; }
|
||||
}
|
||||
}
|
||||
95
APT.MS.Domain/Entities/FO/T_FO_TECH_DISCLOSURE_FROM_TECH.cs
Normal file
95
APT.MS.Domain/Entities/FO/T_FO_TECH_DISCLOSURE_FROM_TECH.cs
Normal file
@ -0,0 +1,95 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Entities.HM;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("技术交底表")]
|
||||
[DataRuleField("DEPARTMENT_ID")]
|
||||
public class T_FO_TECH_DISCLOSURE_FROM_TECH : MesEntityBase
|
||||
{
|
||||
[Description("编号")]
|
||||
[DataFieldLength(100)]
|
||||
public string CODE { get; set; }
|
||||
|
||||
[Description("交底事项")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
public string NAME { get; set; }
|
||||
/// <summary>
|
||||
/// 作业名称
|
||||
/// </summary>
|
||||
[Description("作业名称")]
|
||||
[DataFieldForeignKey("Nav_OperationStep")]
|
||||
public Guid? OPERATION_STEP_ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导航属性:作业名称
|
||||
/// </summary>
|
||||
[Description("导航属性:作业名称")]
|
||||
public T_HM_OPERATION_STEP Nav_OperationStep { get; set; }
|
||||
|
||||
|
||||
[Description("交底时间")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
public DateTime? DISCLOSURE_DATE { get; set; }
|
||||
|
||||
[Description("交底地点")]
|
||||
[DataFieldLength(100)]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[FormFieldEdit]
|
||||
public string JOB_LOCATION { get; set; }
|
||||
|
||||
|
||||
|
||||
[Description("交底人")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:交底人")]
|
||||
public T_FM_USER Nav_User { get; set; }
|
||||
[Description("交底人部门")]
|
||||
[DataFieldForeignKey("Nav_Department")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? DEPARTMENT_ID { get; set; }
|
||||
|
||||
[Description("导航属性:交底人部门")]
|
||||
public T_FM_DEPARTMENT Nav_Department { get; set; }
|
||||
|
||||
[Description("交底内容")]
|
||||
[DataFieldLength(2000)]
|
||||
[FormFieldEdit]
|
||||
public string DisclosureContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表单状态
|
||||
/// </summary>
|
||||
[EnumName("FOTeamActivityState")]
|
||||
[Description("表单状态")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public int FORM_STATUS { get; set; }
|
||||
|
||||
[Description("提交并通知")]
|
||||
[DataFieldIngore]
|
||||
public string PUBLISH { get; set; }
|
||||
|
||||
[Description("导航属性:被交底人")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_FO_TECH_DISCLOSURE_FROM_TECH_PERSON> Nav_Person { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("被交底人")]
|
||||
public class T_FO_TECH_DISCLOSURE_FROM_TECH_PERSON : MesEntityBase
|
||||
{
|
||||
[Description("技术交底表ID")]
|
||||
[DataFieldForeignKey("Nav_TechDisclosure", "Nav_Person")]
|
||||
public Guid TECH_DISCLOSURE_FROM_ID { get; set; }
|
||||
|
||||
[Description("导航属性:技术交底表")]
|
||||
public virtual T_FO_TECH_DISCLOSURE_FROM_TECH Nav_TechDisclosure { get; set; }
|
||||
|
||||
[Description("人员ID")]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[FormFieldEdit]
|
||||
public Guid? USER_ID { get; set; }
|
||||
|
||||
[Description("导航属性:人员")]
|
||||
public virtual T_FM_USER Nav_User { get; set; }
|
||||
|
||||
[Description("处理状态")]
|
||||
[EnumName("FOUserShiftStatusEnum")] //为枚举(0待处理 1已处理)
|
||||
[FormFieldEdit]
|
||||
public FOUserShiftStatusEnum DEAL_STATUS { get; set; }
|
||||
}
|
||||
}
|
||||
29
APT.MS.Domain/Entities/FO/T_FO_TECH_POST.cs
Normal file
29
APT.MS.Domain/Entities/FO/T_FO_TECH_POST.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("现任技术职务表")]
|
||||
public class T_FO_TECH_POST : MesEntityBase
|
||||
{
|
||||
[Description("名称")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public string NAME { get; set; }
|
||||
|
||||
[Description("专业类别")]
|
||||
[DataFieldForeignKey("Nav_Category")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public Guid? PROFESSIONAL_CATEGORY_ID { get; set; }
|
||||
|
||||
|
||||
[Description("导航属性:专业类别")]
|
||||
public T_FO_PROFESSIONAL_CATEGORY Nav_Category { get; set; }
|
||||
}
|
||||
}
|
||||
18
APT.MS.Domain/Entities/FO/T_FO_USER_TYPE.cs
Normal file
18
APT.MS.Domain/Entities/FO/T_FO_USER_TYPE.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace APT.MS.Domain.Entities.FO
|
||||
{
|
||||
[Description("作业人员类别表")]
|
||||
public class T_FO_USER_TYPE : MesEntityBase
|
||||
{
|
||||
[Description("名称")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public string NAME { get; set; }
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,6 @@
|
||||
namespace APT.MS.Domain.Enums
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace APT.MS.Domain.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 交接班状况
|
||||
@ -165,5 +167,60 @@
|
||||
{
|
||||
身份证 = 0,
|
||||
特种作业证 = 1,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 单据状态
|
||||
/// </summary>
|
||||
public enum FOStatusEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 草稿 0
|
||||
/// </summary>
|
||||
[Description("草稿")]
|
||||
Draft = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 责任人确认 5
|
||||
/// </summary>
|
||||
[Description("责任人确认")]
|
||||
Sign = 5,
|
||||
|
||||
/// <summary>
|
||||
/// 接班人确认 10
|
||||
/// </summary>
|
||||
[Description("接班人确认")]
|
||||
SignAccept = 10,
|
||||
|
||||
/// <summary>
|
||||
/// 已归档 15
|
||||
/// </summary>
|
||||
[Description("已归档")]
|
||||
Archived = 15,
|
||||
|
||||
/// <summary>
|
||||
/// 已驳回 20
|
||||
/// </summary>
|
||||
[Description("已驳回")]
|
||||
Rejected = 20,
|
||||
}
|
||||
public enum FOYesOrNoEnum
|
||||
{
|
||||
[Description("是")]
|
||||
Yes = 0,
|
||||
[Description("否")]
|
||||
No = 1,
|
||||
}
|
||||
/// <summary>
|
||||
/// 作业阶段
|
||||
/// </summary>
|
||||
public enum FOJobStepEnum
|
||||
{
|
||||
[Description("作业前")]
|
||||
Pre = 0,
|
||||
[Description("作业中")]
|
||||
Ing = 5,
|
||||
[Description("作业后")]
|
||||
After = 10,
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user