This commit is contained in:
2026-02-10 15:42:58 +08:00
parent c750debcd2
commit 6b80de1c02
63 changed files with 3882 additions and 1417 deletions
+651
View File
@@ -78,6 +78,9 @@ namespace Model
partial void InsertBase_Type(Base_Type instance);
partial void UpdateBase_Type(Base_Type instance);
partial void DeleteBase_Type(Base_Type instance);
partial void InsertBase_UpdateFalg(Base_UpdateFalg instance);
partial void UpdateBase_UpdateFalg(Base_UpdateFalg instance);
partial void DeleteBase_UpdateFalg(Base_UpdateFalg instance);
partial void InsertCCP_List(CCP_List instance);
partial void UpdateCCP_List(CCP_List instance);
partial void DeleteCCP_List(CCP_List instance);
@@ -93,6 +96,9 @@ namespace Model
partial void InsertEmailPop(EmailPop instance);
partial void UpdateEmailPop(EmailPop instance);
partial void DeleteEmailPop(EmailPop instance);
partial void InsertEMC_Contractor(EMC_Contractor instance);
partial void UpdateEMC_Contractor(EMC_Contractor instance);
partial void DeleteEMC_Contractor(EMC_Contractor instance);
partial void InsertEMC_Contractor_Qualification(EMC_Contractor_Qualification instance);
partial void UpdateEMC_Contractor_Qualification(EMC_Contractor_Qualification instance);
partial void DeleteEMC_Contractor_Qualification(EMC_Contractor_Qualification instance);
@@ -219,6 +225,9 @@ namespace Model
partial void InsertSys_UserToEMial(Sys_UserToEMial instance);
partial void UpdateSys_UserToEMial(Sys_UserToEMial instance);
partial void DeleteSys_UserToEMial(Sys_UserToEMial instance);
partial void InsertViolationScoreReport(ViolationScoreReport instance);
partial void UpdateViolationScoreReport(ViolationScoreReport instance);
partial void DeleteViolationScoreReport(ViolationScoreReport instance);
partial void InsertYearsScore(YearsScore instance);
partial void UpdateYearsScore(YearsScore instance);
partial void DeleteYearsScore(YearsScore instance);
@@ -368,6 +377,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_UpdateFalg> Base_UpdateFalg
{
get
{
return this.GetTable<Base_UpdateFalg>();
}
}
public System.Data.Linq.Table<CCP_List> CCP_List
{
get
@@ -440,6 +457,14 @@ namespace Model
}
}
public System.Data.Linq.Table<EMC_Contractor> EMC_Contractor
{
get
{
return this.GetTable<EMC_Contractor>();
}
}
public System.Data.Linq.Table<EMC_Contractor_Qualification> EMC_Contractor_Qualification
{
get
@@ -1024,6 +1049,14 @@ namespace Model
}
}
public System.Data.Linq.Table<ViolationScoreReport> ViolationScoreReport
{
get
{
return this.GetTable<ViolationScoreReport>();
}
}
public System.Data.Linq.Table<YearsScore> YearsScore
{
get
@@ -3607,6 +3640,116 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_UpdateFalg")]
public partial class Base_UpdateFalg : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private int _UpdateId;
private string _UpdateTable;
private System.Nullable<System.DateTime> _UpdateTime;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnUpdateIdChanging(int value);
partial void OnUpdateIdChanged();
partial void OnUpdateTableChanging(string value);
partial void OnUpdateTableChanged();
partial void OnUpdateTimeChanging(System.Nullable<System.DateTime> value);
partial void OnUpdateTimeChanged();
#endregion
public Base_UpdateFalg()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateId", DbType="Int NOT NULL", IsPrimaryKey=true)]
public int UpdateId
{
get
{
return this._UpdateId;
}
set
{
if ((this._UpdateId != value))
{
this.OnUpdateIdChanging(value);
this.SendPropertyChanging();
this._UpdateId = value;
this.SendPropertyChanged("UpdateId");
this.OnUpdateIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateTable", DbType="NVarChar(50)")]
public string UpdateTable
{
get
{
return this._UpdateTable;
}
set
{
if ((this._UpdateTable != value))
{
this.OnUpdateTableChanging(value);
this.SendPropertyChanging();
this._UpdateTable = value;
this.SendPropertyChanged("UpdateTable");
this.OnUpdateTableChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateTime", DbType="DateTime")]
public System.Nullable<System.DateTime> UpdateTime
{
get
{
return this._UpdateTime;
}
set
{
if ((this._UpdateTime != value))
{
this.OnUpdateTimeChanging(value);
this.SendPropertyChanging();
this._UpdateTime = value;
this.SendPropertyChanged("UpdateTime");
this.OnUpdateTimeChanged();
}
}
}
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.CCP_List")]
public partial class CCP_List : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -6803,6 +6946,140 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.EMC_Contractor")]
public partial class EMC_Contractor : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ContractorId;
private string _ContractorCN;
private string _WorkDate;
private System.Nullable<System.DateTime> _SyncTime;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnContractorIdChanging(string value);
partial void OnContractorIdChanged();
partial void OnContractorCNChanging(string value);
partial void OnContractorCNChanged();
partial void OnWorkDateChanging(string value);
partial void OnWorkDateChanged();
partial void OnSyncTimeChanging(System.Nullable<System.DateTime> value);
partial void OnSyncTimeChanged();
#endregion
public EMC_Contractor()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ContractorId
{
get
{
return this._ContractorId;
}
set
{
if ((this._ContractorId != value))
{
this.OnContractorIdChanging(value);
this.SendPropertyChanging();
this._ContractorId = value;
this.SendPropertyChanged("ContractorId");
this.OnContractorIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorCN", DbType="NVarChar(200)")]
public string ContractorCN
{
get
{
return this._ContractorCN;
}
set
{
if ((this._ContractorCN != value))
{
this.OnContractorCNChanging(value);
this.SendPropertyChanging();
this._ContractorCN = value;
this.SendPropertyChanged("ContractorCN");
this.OnContractorCNChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkDate", DbType="NVarChar(20)")]
public string WorkDate
{
get
{
return this._WorkDate;
}
set
{
if ((this._WorkDate != value))
{
this.OnWorkDateChanging(value);
this.SendPropertyChanging();
this._WorkDate = value;
this.SendPropertyChanged("WorkDate");
this.OnWorkDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SyncTime", DbType="DateTime")]
public System.Nullable<System.DateTime> SyncTime
{
get
{
return this._SyncTime;
}
set
{
if ((this._SyncTime != value))
{
this.OnSyncTimeChanging(value);
this.SendPropertyChanging();
this._SyncTime = value;
this.SendPropertyChanged("SyncTime");
this.OnSyncTimeChanged();
}
}
}
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.EMC_Contractor_Qualification")]
public partial class EMC_Contractor_Qualification : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -18165,6 +18442,16 @@ namespace Model
private string _User_field;
private System.Nullable<decimal> _Deduction;
private System.Nullable<decimal> _Quotation;
private string _CPT_No;
private System.Nullable<decimal> _Con_Days;
private System.Nullable<System.DateTime> _Submit_Date;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -18287,6 +18574,16 @@ namespace Model
partial void OnReduced_by_quantityChanged();
partial void OnUser_fieldChanging(string value);
partial void OnUser_fieldChanged();
partial void OnDeductionChanging(System.Nullable<decimal> value);
partial void OnDeductionChanged();
partial void OnQuotationChanging(System.Nullable<decimal> value);
partial void OnQuotationChanged();
partial void OnCPT_NoChanging(string value);
partial void OnCPT_NoChanged();
partial void OnCon_DaysChanging(System.Nullable<decimal> value);
partial void OnCon_DaysChanged();
partial void OnSubmit_DateChanging(System.Nullable<System.DateTime> value);
partial void OnSubmit_DateChanged();
#endregion
public FC_SESReport()
@@ -19474,6 +19771,106 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Deduction", DbType="Decimal(9,2)")]
public System.Nullable<decimal> Deduction
{
get
{
return this._Deduction;
}
set
{
if ((this._Deduction != value))
{
this.OnDeductionChanging(value);
this.SendPropertyChanging();
this._Deduction = value;
this.SendPropertyChanged("Deduction");
this.OnDeductionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quotation", DbType="Decimal(9,2)")]
public System.Nullable<decimal> Quotation
{
get
{
return this._Quotation;
}
set
{
if ((this._Quotation != value))
{
this.OnQuotationChanging(value);
this.SendPropertyChanging();
this._Quotation = value;
this.SendPropertyChanged("Quotation");
this.OnQuotationChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CPT_No", DbType="NVarChar(50)")]
public string CPT_No
{
get
{
return this._CPT_No;
}
set
{
if ((this._CPT_No != value))
{
this.OnCPT_NoChanging(value);
this.SendPropertyChanging();
this._CPT_No = value;
this.SendPropertyChanged("CPT_No");
this.OnCPT_NoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Con_Days", DbType="Decimal(9,2)")]
public System.Nullable<decimal> Con_Days
{
get
{
return this._Con_Days;
}
set
{
if ((this._Con_Days != value))
{
this.OnCon_DaysChanging(value);
this.SendPropertyChanging();
this._Con_Days = value;
this.SendPropertyChanged("Con_Days");
this.OnCon_DaysChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Submit_Date", DbType="DateTime")]
public System.Nullable<System.DateTime> Submit_Date
{
get
{
return this._Submit_Date;
}
set
{
if ((this._Submit_Date != value))
{
this.OnSubmit_DateChanging(value);
this.SendPropertyChanging();
this._Submit_Date = value;
this.SendPropertyChanged("Submit_Date");
this.OnSubmit_DateChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -39655,6 +40052,260 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ViolationScoreReport")]
public partial class ViolationScoreReport : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ViolationScoreId;
private string _ReportDate;
private string _ContractorId;
private string _Fo_No;
private string _ServiceContent;
private System.Nullable<int> _Points1;
private System.Nullable<int> _Points2;
private System.Nullable<int> _Points3;
private System.Nullable<int> _TotalScore;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnViolationScoreIdChanging(string value);
partial void OnViolationScoreIdChanged();
partial void OnReportDateChanging(string value);
partial void OnReportDateChanged();
partial void OnContractorIdChanging(string value);
partial void OnContractorIdChanged();
partial void OnFo_NoChanging(string value);
partial void OnFo_NoChanged();
partial void OnServiceContentChanging(string value);
partial void OnServiceContentChanged();
partial void OnPoints1Changing(System.Nullable<int> value);
partial void OnPoints1Changed();
partial void OnPoints2Changing(System.Nullable<int> value);
partial void OnPoints2Changed();
partial void OnPoints3Changing(System.Nullable<int> value);
partial void OnPoints3Changed();
partial void OnTotalScoreChanging(System.Nullable<int> value);
partial void OnTotalScoreChanged();
#endregion
public ViolationScoreReport()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationScoreId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ViolationScoreId
{
get
{
return this._ViolationScoreId;
}
set
{
if ((this._ViolationScoreId != value))
{
this.OnViolationScoreIdChanging(value);
this.SendPropertyChanging();
this._ViolationScoreId = value;
this.SendPropertyChanged("ViolationScoreId");
this.OnViolationScoreIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="NVarChar(20)")]
public string 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="_ContractorId", DbType="NVarChar(50)")]
public string ContractorId
{
get
{
return this._ContractorId;
}
set
{
if ((this._ContractorId != value))
{
this.OnContractorIdChanging(value);
this.SendPropertyChanging();
this._ContractorId = value;
this.SendPropertyChanged("ContractorId");
this.OnContractorIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Fo_No", DbType="NVarChar(20)")]
public string Fo_No
{
get
{
return this._Fo_No;
}
set
{
if ((this._Fo_No != value))
{
this.OnFo_NoChanging(value);
this.SendPropertyChanging();
this._Fo_No = value;
this.SendPropertyChanged("Fo_No");
this.OnFo_NoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceContent", DbType="NVarChar(50)")]
public string ServiceContent
{
get
{
return this._ServiceContent;
}
set
{
if ((this._ServiceContent != value))
{
this.OnServiceContentChanging(value);
this.SendPropertyChanging();
this._ServiceContent = value;
this.SendPropertyChanged("ServiceContent");
this.OnServiceContentChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Points1", DbType="Int")]
public System.Nullable<int> Points1
{
get
{
return this._Points1;
}
set
{
if ((this._Points1 != value))
{
this.OnPoints1Changing(value);
this.SendPropertyChanging();
this._Points1 = value;
this.SendPropertyChanged("Points1");
this.OnPoints1Changed();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Points2", DbType="Int")]
public System.Nullable<int> Points2
{
get
{
return this._Points2;
}
set
{
if ((this._Points2 != value))
{
this.OnPoints2Changing(value);
this.SendPropertyChanging();
this._Points2 = value;
this.SendPropertyChanged("Points2");
this.OnPoints2Changed();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Points3", DbType="Int")]
public System.Nullable<int> Points3
{
get
{
return this._Points3;
}
set
{
if ((this._Points3 != value))
{
this.OnPoints3Changing(value);
this.SendPropertyChanging();
this._Points3 = value;
this.SendPropertyChanged("Points3");
this.OnPoints3Changed();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalScore", DbType="Int")]
public System.Nullable<int> TotalScore
{
get
{
return this._TotalScore;
}
set
{
if ((this._TotalScore != value))
{
this.OnTotalScoreChanging(value);
this.SendPropertyChanging();
this._TotalScore = value;
this.SendPropertyChanged("TotalScore");
this.OnTotalScoreChanged();
}
}
}
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.YearsScore")]
public partial class YearsScore : INotifyPropertyChanging, INotifyPropertyChanged
{