2023-05-09 接口更新

This commit is contained in:
2023-05-09 19:56:06 +08:00
parent 2b8ff1a35c
commit e16d0cfca5
17 changed files with 1072 additions and 542 deletions
+385
View File
@@ -1064,6 +1064,9 @@ namespace Model
partial void InsertInformation_DrillPlanHalfYearReportItem(Information_DrillPlanHalfYearReportItem instance);
partial void UpdateInformation_DrillPlanHalfYearReportItem(Information_DrillPlanHalfYearReportItem instance);
partial void DeleteInformation_DrillPlanHalfYearReportItem(Information_DrillPlanHalfYearReportItem instance);
partial void InsertInformation_EnvironmentalData(Information_EnvironmentalData instance);
partial void UpdateInformation_EnvironmentalData(Information_EnvironmentalData instance);
partial void DeleteInformation_EnvironmentalData(Information_EnvironmentalData instance);
partial void InsertInformation_EPSummaryReport(Information_EPSummaryReport instance);
partial void UpdateInformation_EPSummaryReport(Information_EPSummaryReport instance);
partial void DeleteInformation_EPSummaryReport(Information_EPSummaryReport instance);
@@ -5091,6 +5094,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Information_EnvironmentalData> Information_EnvironmentalData
{
get
{
return this.GetTable<Information_EnvironmentalData>();
}
}
public System.Data.Linq.Table<Information_EPSummaryReport> Information_EPSummaryReport
{
get
@@ -10031,6 +10042,8 @@ namespace Model
private string _States;
private string _IsAttempt;
private EntityRef<Base_AccidentType> _Base_AccidentType;
private EntityRef<Base_Project> _Base_Project;
@@ -10077,6 +10090,8 @@ namespace Model
partial void OnCompileDateChanged();
partial void OnStatesChanging(string value);
partial void OnStatesChanged();
partial void OnIsAttemptChanging(string value);
partial void OnIsAttemptChanged();
#endregion
public Accident_AccidentPersonRecord()
@@ -10429,6 +10444,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAttempt", DbType="Char(1)")]
public string IsAttempt
{
get
{
return this._IsAttempt;
}
set
{
if ((this._IsAttempt != value))
{
this.OnIsAttemptChanging(value);
this.SendPropertyChanging();
this._IsAttempt = value;
this.SendPropertyChanged("IsAttempt");
this.OnIsAttemptChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_Base_AccidentType", Storage="_Base_AccidentType", ThisKey="AccidentTypeId", OtherKey="AccidentTypeId", IsForeignKey=true)]
public Base_AccidentType Base_AccidentType
{
@@ -10684,6 +10719,8 @@ namespace Model
private System.Nullable<bool> _NotConfirmed;
private string _AccidentDegree;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@@ -10754,6 +10791,8 @@ namespace Model
partial void OnNotConfirmEconomicOtherLossChanged();
partial void OnNotConfirmedChanging(System.Nullable<bool> value);
partial void OnNotConfirmedChanged();
partial void OnAccidentDegreeChanging(string value);
partial void OnAccidentDegreeChanged();
#endregion
public Accident_AccidentReport()
@@ -11361,6 +11400,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccidentDegree", DbType="Char(1)")]
public string AccidentDegree
{
get
{
return this._AccidentDegree;
}
set
{
if ((this._AccidentDegree != value))
{
this.OnAccidentDegreeChanging(value);
this.SendPropertyChanging();
this._AccidentDegree = value;
this.SendPropertyChanged("AccidentDegree");
this.OnAccidentDegreeChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentReport_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -35381,6 +35440,8 @@ namespace Model
private System.Nullable<bool> _IsRepeat;
private string _TrainType;
private EntitySet<Base_TrainTypeItem> _Base_TrainTypeItem;
private EntitySet<EduTrain_TrainRecord> _EduTrain_TrainRecord;
@@ -35405,6 +35466,8 @@ namespace Model
partial void OnIsAboutSendCardChanged();
partial void OnIsRepeatChanging(System.Nullable<bool> value);
partial void OnIsRepeatChanged();
partial void OnTrainTypeChanging(string value);
partial void OnTrainTypeChanged();
#endregion
public Base_TrainType()
@@ -35536,6 +35599,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainType", DbType="NVarChar(50)")]
public string TrainType
{
get
{
return this._TrainType;
}
set
{
if ((this._TrainType != value))
{
this.OnTrainTypeChanging(value);
this.SendPropertyChanging();
this._TrainType = value;
this.SendPropertyChanged("TrainType");
this.OnTrainTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_TrainTypeItem_Base_TrainType", Storage="_Base_TrainTypeItem", ThisKey="TrainTypeId", OtherKey="TrainTypeId", DeleteRule="NO ACTION")]
public EntitySet<Base_TrainTypeItem> Base_TrainTypeItem
{
@@ -71157,6 +71240,8 @@ namespace Model
private System.Nullable<bool> _IsRectify;
private string _RectifyId;
private EntityRef<Check_RectifyNotices> _Check_RectifyNotices;
#region
@@ -71177,6 +71262,8 @@ namespace Model
partial void OnRectifyResultsChanged();
partial void OnIsRectifyChanging(System.Nullable<bool> value);
partial void OnIsRectifyChanged();
partial void OnRectifyIdChanging(string value);
partial void OnRectifyIdChanged();
#endregion
public Check_RectifyNoticesItem()
@@ -71329,6 +71416,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RectifyId", DbType="NVarChar(50)")]
public string RectifyId
{
get
{
return this._RectifyId;
}
set
{
if ((this._RectifyId != value))
{
this.OnRectifyIdChanging(value);
this.SendPropertyChanging();
this._RectifyId = value;
this.SendPropertyChanged("RectifyId");
this.OnRectifyIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_RectifyNoticesItem_Check_RectifyNotices", Storage="_Check_RectifyNotices", ThisKey="RectifyNoticesId", OtherKey="RectifyNoticesId", IsForeignKey=true)]
public Check_RectifyNotices Check_RectifyNotices
{
@@ -170216,6 +170323,236 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Information_EnvironmentalData")]
public partial class Information_EnvironmentalData : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _UnitId;
private System.Nullable<int> _TotalEnergyConsumption;
private System.Nullable<int> _IncomeComprehensiveEnergyConsumption;
private System.Nullable<int> _NewWaterConsumption;
private System.Nullable<System.DateTime> _ReportDate;
private string _CreateMan;
private System.Nullable<System.DateTime> _CreateDate;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnIdChanging(string value);
partial void OnIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnTotalEnergyConsumptionChanging(System.Nullable<int> value);
partial void OnTotalEnergyConsumptionChanged();
partial void OnIncomeComprehensiveEnergyConsumptionChanging(System.Nullable<int> value);
partial void OnIncomeComprehensiveEnergyConsumptionChanged();
partial void OnNewWaterConsumptionChanging(System.Nullable<int> value);
partial void OnNewWaterConsumptionChanged();
partial void OnReportDateChanging(System.Nullable<System.DateTime> value);
partial void OnReportDateChanged();
partial void OnCreateManChanging(string value);
partial void OnCreateManChanged();
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
partial void OnCreateDateChanged();
#endregion
public Information_EnvironmentalData()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this.OnIdChanging(value);
this.SendPropertyChanging();
this._Id = value;
this.SendPropertyChanged("Id");
this.OnIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="VarChar(50)")]
public string UnitId
{
get
{
return this._UnitId;
}
set
{
if ((this._UnitId != value))
{
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
this.SendPropertyChanged("UnitId");
this.OnUnitIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalEnergyConsumption", DbType="Int")]
public System.Nullable<int> TotalEnergyConsumption
{
get
{
return this._TotalEnergyConsumption;
}
set
{
if ((this._TotalEnergyConsumption != value))
{
this.OnTotalEnergyConsumptionChanging(value);
this.SendPropertyChanging();
this._TotalEnergyConsumption = value;
this.SendPropertyChanged("TotalEnergyConsumption");
this.OnTotalEnergyConsumptionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IncomeComprehensiveEnergyConsumption", DbType="Int")]
public System.Nullable<int> IncomeComprehensiveEnergyConsumption
{
get
{
return this._IncomeComprehensiveEnergyConsumption;
}
set
{
if ((this._IncomeComprehensiveEnergyConsumption != value))
{
this.OnIncomeComprehensiveEnergyConsumptionChanging(value);
this.SendPropertyChanging();
this._IncomeComprehensiveEnergyConsumption = value;
this.SendPropertyChanged("IncomeComprehensiveEnergyConsumption");
this.OnIncomeComprehensiveEnergyConsumptionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewWaterConsumption", DbType="Int")]
public System.Nullable<int> NewWaterConsumption
{
get
{
return this._NewWaterConsumption;
}
set
{
if ((this._NewWaterConsumption != value))
{
this.OnNewWaterConsumptionChanging(value);
this.SendPropertyChanging();
this._NewWaterConsumption = value;
this.SendPropertyChanged("NewWaterConsumption");
this.OnNewWaterConsumptionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="Date")]
public System.Nullable<System.DateTime> ReportDate
{
get
{
return this._ReportDate;
}
set
{
if ((this._ReportDate != value))
{
this.OnReportDateChanging(value);
this.SendPropertyChanging();
this._ReportDate = value;
this.SendPropertyChanged("ReportDate");
this.OnReportDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateMan", DbType="VarChar(50)")]
public string CreateMan
{
get
{
return this._CreateMan;
}
set
{
if ((this._CreateMan != value))
{
this.OnCreateManChanging(value);
this.SendPropertyChanging();
this._CreateMan = value;
this.SendPropertyChanged("CreateMan");
this.OnCreateManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CreateDate
{
get
{
return this._CreateDate;
}
set
{
if ((this._CreateDate != value))
{
this.OnCreateDateChanging(value);
this.SendPropertyChanging();
this._CreateDate = value;
this.SendPropertyChanged("CreateDate");
this.OnCreateDateChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Information_EPSummaryReport")]
public partial class Information_EPSummaryReport : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -203877,6 +204214,8 @@ namespace Model
private string _CNProfessionalId;
private System.Nullable<bool> _IsHighRisk;
private EntityRef<Base_LicenseType> _Base_LicenseType;
private EntityRef<Base_Project> _Base_Project;
@@ -203921,6 +204260,8 @@ namespace Model
partial void OnWorkStatesChanged();
partial void OnCNProfessionalIdChanging(string value);
partial void OnCNProfessionalIdChanged();
partial void OnIsHighRiskChanging(System.Nullable<bool> value);
partial void OnIsHighRiskChanged();
#endregion
public License_LicenseManager()
@@ -204268,6 +204609,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHighRisk", DbType="Bit")]
public System.Nullable<bool> IsHighRisk
{
get
{
return this._IsHighRisk;
}
set
{
if ((this._IsHighRisk != value))
{
this.OnIsHighRiskChanging(value);
this.SendPropertyChanging();
this._IsHighRisk = value;
this.SendPropertyChanged("IsHighRisk");
this.OnIsHighRiskChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_LicenseManager_Base_LicenseType", Storage="_Base_LicenseType", ThisKey="LicenseTypeId", OtherKey="LicenseTypeId", IsForeignKey=true)]
public Base_LicenseType Base_LicenseType
{
@@ -294682,6 +295043,8 @@ namespace Model
private string _RawPassword;
private System.Nullable<bool> _IsSafetyMonitoring;
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
private EntitySet<Accident_AccidentReportOtherItem> _Accident_AccidentReportOtherItem;
@@ -294864,6 +295227,8 @@ namespace Model
partial void OnIsCardNoOKChanged();
partial void OnRawPasswordChanging(string value);
partial void OnRawPasswordChanged();
partial void OnIsSafetyMonitoringChanging(System.Nullable<bool> value);
partial void OnIsSafetyMonitoringChanged();
#endregion
public SitePerson_Person()
@@ -296132,6 +296497,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSafetyMonitoring", DbType="Bit")]
public System.Nullable<bool> IsSafetyMonitoring
{
get
{
return this._IsSafetyMonitoring;
}
set
{
if ((this._IsSafetyMonitoring != value))
{
this.OnIsSafetyMonitoringChanging(value);
this.SendPropertyChanging();
this._IsSafetyMonitoring = value;
this.SendPropertyChanged("IsSafetyMonitoring");
this.OnIsSafetyMonitoringChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_SitePerson_Person", Storage="_Accident_AccidentPersonRecord", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")]
public EntitySet<Accident_AccidentPersonRecord> Accident_AccidentPersonRecord
{