人员记分

This commit is contained in:
2026-07-27 10:08:44 +08:00
parent 797519af99
commit 9630b5c123
5 changed files with 1000 additions and 0 deletions
+698
View File
@@ -2129,6 +2129,12 @@ namespace Model
partial void InsertSafetyData_SafetyDataPlan(SafetyData_SafetyDataPlan instance);
partial void UpdateSafetyData_SafetyDataPlan(SafetyData_SafetyDataPlan instance);
partial void DeleteSafetyData_SafetyDataPlan(SafetyData_SafetyDataPlan instance);
partial void InsertScoreFlowLog(ScoreFlowLog instance);
partial void UpdateScoreFlowLog(ScoreFlowLog instance);
partial void DeleteScoreFlowLog(ScoreFlowLog instance);
partial void InsertScoreUser(ScoreUser instance);
partial void UpdateScoreUser(ScoreUser instance);
partial void DeleteScoreUser(ScoreUser instance);
partial void InsertSecuritySystem_SafetyOrganization(SecuritySystem_SafetyOrganization instance);
partial void UpdateSecuritySystem_SafetyOrganization(SecuritySystem_SafetyOrganization instance);
partial void DeleteSecuritySystem_SafetyOrganization(SecuritySystem_SafetyOrganization instance);
@@ -8343,6 +8349,22 @@ namespace Model
}
}
public System.Data.Linq.Table<ScoreFlowLog> ScoreFlowLog
{
get
{
return this.GetTable<ScoreFlowLog>();
}
}
public System.Data.Linq.Table<ScoreUser> ScoreUser
{
get
{
return this.GetTable<ScoreUser>();
}
}
public System.Data.Linq.Table<SecuritySystem_SafetyOrganization> SecuritySystem_SafetyOrganization
{
get
@@ -336957,6 +336979,682 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ScoreFlowLog")]
public partial class ScoreFlowLog : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private int _Year;
private string _IdentityCard;
private string _UserName;
private int _Type;
private int _Score;
private int _CurrentScore;
private string _Item;
private string _LogContent;
private string _UserId;
private string _PersonId;
private string _UnitId;
private string _ProjectId;
private string _UnitName;
private string _ProjectName;
private string _Remark;
private System.DateTime _CompileDate;
private string _CompileMan;
private string _CompileManId;
#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 OnYearChanging(int value);
partial void OnYearChanged();
partial void OnIdentityCardChanging(string value);
partial void OnIdentityCardChanged();
partial void OnUserNameChanging(string value);
partial void OnUserNameChanged();
partial void OnTypeChanging(int value);
partial void OnTypeChanged();
partial void OnScoreChanging(int value);
partial void OnScoreChanged();
partial void OnCurrentScoreChanging(int value);
partial void OnCurrentScoreChanged();
partial void OnItemChanging(string value);
partial void OnItemChanged();
partial void OnLogContentChanging(string value);
partial void OnLogContentChanged();
partial void OnUserIdChanging(string value);
partial void OnUserIdChanged();
partial void OnPersonIdChanging(string value);
partial void OnPersonIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnUnitNameChanging(string value);
partial void OnUnitNameChanged();
partial void OnProjectNameChanging(string value);
partial void OnProjectNameChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCompileDateChanging(System.DateTime value);
partial void OnCompileDateChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileManIdChanging(string value);
partial void OnCompileManIdChanged();
#endregion
public ScoreFlowLog()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(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="_Year", DbType="Int NOT NULL")]
public int Year
{
get
{
return this._Year;
}
set
{
if ((this._Year != value))
{
this.OnYearChanging(value);
this.SendPropertyChanging();
this._Year = value;
this.SendPropertyChanged("Year");
this.OnYearChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentityCard", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string IdentityCard
{
get
{
return this._IdentityCard;
}
set
{
if ((this._IdentityCard != value))
{
this.OnIdentityCardChanging(value);
this.SendPropertyChanging();
this._IdentityCard = value;
this.SendPropertyChanged("IdentityCard");
this.OnIdentityCardChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string UserName
{
get
{
return this._UserName;
}
set
{
if ((this._UserName != value))
{
this.OnUserNameChanging(value);
this.SendPropertyChanging();
this._UserName = value;
this.SendPropertyChanged("UserName");
this.OnUserNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Int NOT NULL")]
public int Type
{
get
{
return this._Type;
}
set
{
if ((this._Type != value))
{
this.OnTypeChanging(value);
this.SendPropertyChanging();
this._Type = value;
this.SendPropertyChanged("Type");
this.OnTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Score", DbType="Int NOT NULL")]
public int Score
{
get
{
return this._Score;
}
set
{
if ((this._Score != value))
{
this.OnScoreChanging(value);
this.SendPropertyChanging();
this._Score = value;
this.SendPropertyChanged("Score");
this.OnScoreChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CurrentScore", DbType="Int NOT NULL")]
public int CurrentScore
{
get
{
return this._CurrentScore;
}
set
{
if ((this._CurrentScore != value))
{
this.OnCurrentScoreChanging(value);
this.SendPropertyChanging();
this._CurrentScore = value;
this.SendPropertyChanged("CurrentScore");
this.OnCurrentScoreChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Item", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string Item
{
get
{
return this._Item;
}
set
{
if ((this._Item != value))
{
this.OnItemChanging(value);
this.SendPropertyChanging();
this._Item = value;
this.SendPropertyChanged("Item");
this.OnItemChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogContent", DbType="NVarChar(200)")]
public string LogContent
{
get
{
return this._LogContent;
}
set
{
if ((this._LogContent != value))
{
this.OnLogContentChanging(value);
this.SendPropertyChanging();
this._LogContent = value;
this.SendPropertyChanged("LogContent");
this.OnLogContentChanged();
}
}
}
[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="_PersonId", DbType="NVarChar(50)")]
public string PersonId
{
get
{
return this._PersonId;
}
set
{
if ((this._PersonId != value))
{
this.OnPersonIdChanging(value);
this.SendPropertyChanging();
this._PersonId = value;
this.SendPropertyChanged("PersonId");
this.OnPersonIdChanged();
}
}
}
[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="_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="_UnitName", DbType="NVarChar(200)")]
public string UnitName
{
get
{
return this._UnitName;
}
set
{
if ((this._UnitName != value))
{
this.OnUnitNameChanging(value);
this.SendPropertyChanging();
this._UnitName = value;
this.SendPropertyChanged("UnitName");
this.OnUnitNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(200)")]
public string ProjectName
{
get
{
return this._ProjectName;
}
set
{
if ((this._ProjectName != value))
{
this.OnProjectNameChanging(value);
this.SendPropertyChanging();
this._ProjectName = value;
this.SendPropertyChanged("ProjectName");
this.OnProjectNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(200)")]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime NOT NULL")]
public System.DateTime CompileDate
{
get
{
return this._CompileDate;
}
set
{
if ((this._CompileDate != value))
{
this.OnCompileDateChanging(value);
this.SendPropertyChanging();
this._CompileDate = value;
this.SendPropertyChanged("CompileDate");
this.OnCompileDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string CompileMan
{
get
{
return this._CompileMan;
}
set
{
if ((this._CompileMan != value))
{
this.OnCompileManChanging(value);
this.SendPropertyChanging();
this._CompileMan = value;
this.SendPropertyChanged("CompileMan");
this.OnCompileManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileManId", DbType="NVarChar(50)")]
public string CompileManId
{
get
{
return this._CompileManId;
}
set
{
if ((this._CompileManId != value))
{
this.OnCompileManIdChanging(value);
this.SendPropertyChanging();
this._CompileManId = value;
this.SendPropertyChanged("CompileManId");
this.OnCompileManIdChanged();
}
}
}
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.ScoreUser")]
public partial class ScoreUser : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private int _Year;
private string _IdentityCard;
private int _Score;
private string _UserName;
private System.DateTime _CompileDate;
#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 OnYearChanging(int value);
partial void OnYearChanged();
partial void OnIdentityCardChanging(string value);
partial void OnIdentityCardChanged();
partial void OnScoreChanging(int value);
partial void OnScoreChanged();
partial void OnUserNameChanging(string value);
partial void OnUserNameChanged();
partial void OnCompileDateChanging(System.DateTime value);
partial void OnCompileDateChanged();
#endregion
public ScoreUser()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(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="_Year", DbType="Int NOT NULL")]
public int Year
{
get
{
return this._Year;
}
set
{
if ((this._Year != value))
{
this.OnYearChanging(value);
this.SendPropertyChanging();
this._Year = value;
this.SendPropertyChanged("Year");
this.OnYearChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentityCard", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string IdentityCard
{
get
{
return this._IdentityCard;
}
set
{
if ((this._IdentityCard != value))
{
this.OnIdentityCardChanging(value);
this.SendPropertyChanging();
this._IdentityCard = value;
this.SendPropertyChanged("IdentityCard");
this.OnIdentityCardChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Score", DbType="Int NOT NULL")]
public int Score
{
get
{
return this._Score;
}
set
{
if ((this._Score != value))
{
this.OnScoreChanging(value);
this.SendPropertyChanging();
this._Score = value;
this.SendPropertyChanged("Score");
this.OnScoreChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string UserName
{
get
{
return this._UserName;
}
set
{
if ((this._UserName != value))
{
this.OnUserNameChanging(value);
this.SendPropertyChanging();
this._UserName = value;
this.SendPropertyChanged("UserName");
this.OnUserNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime NOT NULL")]
public System.DateTime CompileDate
{
get
{
return this._CompileDate;
}
set
{
if ((this._CompileDate != value))
{
this.OnCompileDateChanging(value);
this.SendPropertyChanging();
this._CompileDate = value;
this.SendPropertyChanged("CompileDate");
this.OnCompileDateChanged();
}
}
}
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.SecuritySystem_SafetyOrganization")]
public partial class SecuritySystem_SafetyOrganization : INotifyPropertyChanging, INotifyPropertyChanged
{