人力预警

This commit is contained in:
geh
2026-01-23 11:37:01 +08:00
parent 7100520461
commit 179eed5b87
5 changed files with 554 additions and 8 deletions
+293 -4
View File
@@ -2300,6 +2300,9 @@ namespace Model
partial void InsertSGManPower_WarningResult(SGManPower_WarningResult instance);
partial void UpdateSGManPower_WarningResult(SGManPower_WarningResult instance);
partial void DeleteSGManPower_WarningResult(SGManPower_WarningResult instance);
partial void InsertSGManPower_WarningWeeklyStatisticsResult(SGManPower_WarningWeeklyStatisticsResult instance);
partial void UpdateSGManPower_WarningWeeklyStatisticsResult(SGManPower_WarningWeeklyStatisticsResult instance);
partial void DeleteSGManPower_WarningWeeklyStatisticsResult(SGManPower_WarningWeeklyStatisticsResult instance);
partial void InsertSitePerson_Checking(SitePerson_Checking instance);
partial void UpdateSitePerson_Checking(SitePerson_Checking instance);
partial void DeleteSitePerson_Checking(SitePerson_Checking instance);
@@ -8939,6 +8942,14 @@ namespace Model
}
}
public System.Data.Linq.Table<SGManPower_WarningWeeklyStatisticsResult> SGManPower_WarningWeeklyStatisticsResult
{
get
{
return this.GetTable<SGManPower_WarningWeeklyStatisticsResult>();
}
}
public System.Data.Linq.Table<SitePerson_Checking> SitePerson_Checking
{
get
@@ -302085,7 +302096,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ControlPointType", DbType="NVarChar(100)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ControlPointType", DbType="NVarChar(50)")]
public string ControlPointType
{
get
@@ -302105,7 +302116,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(50)")]
public string AcceptanceSite
{
get
@@ -352860,6 +352871,284 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SGManPower_WarningWeeklyStatisticsResult")]
public partial class SGManPower_WarningWeeklyStatisticsResult : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ResultId;
private string _ProjectId;
private string _UnitId;
private string _WorkPostType;
private string _UserId;
private System.Nullable<bool> _IsRead;
private System.Nullable<System.DateTime> _StartDate;
private System.Nullable<System.DateTime> _EndDate;
private System.Nullable<int> _PlanQuantity;
private System.Nullable<int> _ActualQuantity;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnResultIdChanging(string value);
partial void OnResultIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnWorkPostTypeChanging(string value);
partial void OnWorkPostTypeChanged();
partial void OnUserIdChanging(string value);
partial void OnUserIdChanged();
partial void OnIsReadChanging(System.Nullable<bool> value);
partial void OnIsReadChanged();
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnStartDateChanged();
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnEndDateChanged();
partial void OnPlanQuantityChanging(System.Nullable<int> value);
partial void OnPlanQuantityChanged();
partial void OnActualQuantityChanging(System.Nullable<int> value);
partial void OnActualQuantityChanged();
#endregion
public SGManPower_WarningWeeklyStatisticsResult()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResultId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ResultId
{
get
{
return this._ResultId;
}
set
{
if ((this._ResultId != value))
{
this.OnResultIdChanging(value);
this.SendPropertyChanging();
this._ResultId = value;
this.SendPropertyChanged("ResultId");
this.OnResultIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(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="_WorkPostType", DbType="NVarChar(5)")]
public string WorkPostType
{
get
{
return this._WorkPostType;
}
set
{
if ((this._WorkPostType != value))
{
this.OnWorkPostTypeChanging(value);
this.SendPropertyChanging();
this._WorkPostType = value;
this.SendPropertyChanged("WorkPostType");
this.OnWorkPostTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
public string UserId
{
get
{
return this._UserId;
}
set
{
if ((this._UserId != value))
{
this.OnUserIdChanging(value);
this.SendPropertyChanging();
this._UserId = value;
this.SendPropertyChanged("UserId");
this.OnUserIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsRead", DbType="Bit")]
public System.Nullable<bool> IsRead
{
get
{
return this._IsRead;
}
set
{
if ((this._IsRead != value))
{
this.OnIsReadChanging(value);
this.SendPropertyChanging();
this._IsRead = value;
this.SendPropertyChanged("IsRead");
this.OnIsReadChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="Date")]
public System.Nullable<System.DateTime> StartDate
{
get
{
return this._StartDate;
}
set
{
if ((this._StartDate != value))
{
this.OnStartDateChanging(value);
this.SendPropertyChanging();
this._StartDate = value;
this.SendPropertyChanged("StartDate");
this.OnStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="Date")]
public System.Nullable<System.DateTime> EndDate
{
get
{
return this._EndDate;
}
set
{
if ((this._EndDate != value))
{
this.OnEndDateChanging(value);
this.SendPropertyChanging();
this._EndDate = value;
this.SendPropertyChanged("EndDate");
this.OnEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanQuantity", DbType="Int")]
public System.Nullable<int> PlanQuantity
{
get
{
return this._PlanQuantity;
}
set
{
if ((this._PlanQuantity != value))
{
this.OnPlanQuantityChanging(value);
this.SendPropertyChanging();
this._PlanQuantity = value;
this.SendPropertyChanged("PlanQuantity");
this.OnPlanQuantityChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualQuantity", DbType="Int")]
public System.Nullable<int> ActualQuantity
{
get
{
return this._ActualQuantity;
}
set
{
if ((this._ActualQuantity != value))
{
this.OnActualQuantityChanging(value);
this.SendPropertyChanging();
this._ActualQuantity = value;
this.SendPropertyChanged("ActualQuantity");
this.OnActualQuantityChanged();
}
}
}
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.SitePerson_Checking")]
public partial class SitePerson_Checking : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -429241,7 +429530,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(50)")]
public string AcceptanceSite
{
get
@@ -448558,7 +448847,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(50)")]
public string AcceptanceSite
{
get