修改项目安全实施计划

This commit is contained in:
2023-06-01 17:14:29 +08:00
parent 5470404048
commit 75b2d905c9
28 changed files with 5430 additions and 190 deletions
+528 -23
View File
@@ -50,6 +50,9 @@ namespace Model
partial void InsertActionPlan_ActionPlanList(ActionPlan_ActionPlanList instance);
partial void UpdateActionPlan_ActionPlanList(ActionPlan_ActionPlanList instance);
partial void DeleteActionPlan_ActionPlanList(ActionPlan_ActionPlanList instance);
partial void InsertActionPlan_ActionPlanListApprove(ActionPlan_ActionPlanListApprove instance);
partial void UpdateActionPlan_ActionPlanListApprove(ActionPlan_ActionPlanListApprove instance);
partial void DeleteActionPlan_ActionPlanListApprove(ActionPlan_ActionPlanListApprove instance);
partial void InsertActionPlan_CompanyManagerRule(ActionPlan_CompanyManagerRule instance);
partial void UpdateActionPlan_CompanyManagerRule(ActionPlan_CompanyManagerRule instance);
partial void DeleteActionPlan_CompanyManagerRule(ActionPlan_CompanyManagerRule instance);
@@ -1725,6 +1728,14 @@ namespace Model
}
}
public System.Data.Linq.Table<ActionPlan_ActionPlanListApprove> ActionPlan_ActionPlanListApprove
{
get
{
return this.GetTable<ActionPlan_ActionPlanListApprove>();
}
}
public System.Data.Linq.Table<ActionPlan_CompanyManagerRule> ActionPlan_CompanyManagerRule
{
get
@@ -10549,10 +10560,20 @@ namespace Model
private string _States;
private System.Nullable<int> _Edition;
private System.Nullable<bool> _IsReview;
private string _ReviewMan;
private System.Nullable<bool> _IsCompanyReview;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Person_Persons> _Person_Persons;
private EntitySet<ActionPlan_ActionPlanListApprove> _ActionPlan_ActionPlanListApprove;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -10577,12 +10598,21 @@ namespace Model
partial void OnCompileDateChanged();
partial void OnStatesChanging(string value);
partial void OnStatesChanged();
partial void OnEditionChanging(System.Nullable<int> value);
partial void OnEditionChanged();
partial void OnIsReviewChanging(System.Nullable<bool> value);
partial void OnIsReviewChanged();
partial void OnReviewManChanging(string value);
partial void OnReviewManChanged();
partial void OnIsCompanyReviewChanging(System.Nullable<bool> value);
partial void OnIsCompanyReviewChanged();
#endregion
public ActionPlan_ActionPlanList()
{
this._Base_Project = default(EntityRef<Base_Project>);
this._Person_Persons = default(EntityRef<Person_Persons>);
this._ActionPlan_ActionPlanListApprove = new EntitySet<ActionPlan_ActionPlanListApprove>(new Action<ActionPlan_ActionPlanListApprove>(this.attach_ActionPlan_ActionPlanListApprove), new Action<ActionPlan_ActionPlanListApprove>(this.detach_ActionPlan_ActionPlanListApprove));
OnCreated();
}
@@ -10794,6 +10824,86 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Edition", DbType="Int")]
public System.Nullable<int> Edition
{
get
{
return this._Edition;
}
set
{
if ((this._Edition != value))
{
this.OnEditionChanging(value);
this.SendPropertyChanging();
this._Edition = value;
this.SendPropertyChanged("Edition");
this.OnEditionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsReview", DbType="Bit")]
public System.Nullable<bool> IsReview
{
get
{
return this._IsReview;
}
set
{
if ((this._IsReview != value))
{
this.OnIsReviewChanging(value);
this.SendPropertyChanging();
this._IsReview = value;
this.SendPropertyChanged("IsReview");
this.OnIsReviewChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewMan", DbType="NVarChar(50)")]
public string ReviewMan
{
get
{
return this._ReviewMan;
}
set
{
if ((this._ReviewMan != value))
{
this.OnReviewManChanging(value);
this.SendPropertyChanging();
this._ReviewMan = value;
this.SendPropertyChanged("ReviewMan");
this.OnReviewManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCompanyReview", DbType="Bit")]
public System.Nullable<bool> IsCompanyReview
{
get
{
return this._IsCompanyReview;
}
set
{
if ((this._IsCompanyReview != value))
{
this.OnIsCompanyReviewChanging(value);
this.SendPropertyChanging();
this._IsCompanyReview = value;
this.SendPropertyChanged("IsCompanyReview");
this.OnIsCompanyReviewChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_ActionPlanList_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -10862,6 +10972,391 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_ActionPlanListApprove_ActionPlan_ActionPlanList", Storage="_ActionPlan_ActionPlanListApprove", ThisKey="ActionPlanListId", OtherKey="ActionPlanListId", DeleteRule="NO ACTION")]
public EntitySet<ActionPlan_ActionPlanListApprove> ActionPlan_ActionPlanListApprove
{
get
{
return this._ActionPlan_ActionPlanListApprove;
}
set
{
this._ActionPlan_ActionPlanListApprove.Assign(value);
}
}
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));
}
}
private void attach_ActionPlan_ActionPlanListApprove(ActionPlan_ActionPlanListApprove entity)
{
this.SendPropertyChanging();
entity.ActionPlan_ActionPlanList = this;
}
private void detach_ActionPlan_ActionPlanListApprove(ActionPlan_ActionPlanListApprove entity)
{
this.SendPropertyChanging();
entity.ActionPlan_ActionPlanList = null;
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ActionPlan_ActionPlanListApprove")]
public partial class ActionPlan_ActionPlanListApprove : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ActionPlanListApproveId;
private string _ActionPlanListId;
private string _ApproveMan;
private System.Nullable<System.DateTime> _ApproveDate;
private System.Nullable<bool> _IsAgree;
private string _ApproveIdea;
private string _ApproveType;
private string _AttachUrl;
private string _SignType;
private System.Nullable<int> _Edition;
private EntityRef<ActionPlan_ActionPlanList> _ActionPlan_ActionPlanList;
private EntityRef<Person_Persons> _Person_Persons;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnActionPlanListApproveIdChanging(string value);
partial void OnActionPlanListApproveIdChanged();
partial void OnActionPlanListIdChanging(string value);
partial void OnActionPlanListIdChanged();
partial void OnApproveManChanging(string value);
partial void OnApproveManChanged();
partial void OnApproveDateChanging(System.Nullable<System.DateTime> value);
partial void OnApproveDateChanged();
partial void OnIsAgreeChanging(System.Nullable<bool> value);
partial void OnIsAgreeChanged();
partial void OnApproveIdeaChanging(string value);
partial void OnApproveIdeaChanged();
partial void OnApproveTypeChanging(string value);
partial void OnApproveTypeChanged();
partial void OnAttachUrlChanging(string value);
partial void OnAttachUrlChanged();
partial void OnSignTypeChanging(string value);
partial void OnSignTypeChanged();
partial void OnEditionChanging(System.Nullable<int> value);
partial void OnEditionChanged();
#endregion
public ActionPlan_ActionPlanListApprove()
{
this._ActionPlan_ActionPlanList = default(EntityRef<ActionPlan_ActionPlanList>);
this._Person_Persons = default(EntityRef<Person_Persons>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActionPlanListApproveId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ActionPlanListApproveId
{
get
{
return this._ActionPlanListApproveId;
}
set
{
if ((this._ActionPlanListApproveId != value))
{
this.OnActionPlanListApproveIdChanging(value);
this.SendPropertyChanging();
this._ActionPlanListApproveId = value;
this.SendPropertyChanged("ActionPlanListApproveId");
this.OnActionPlanListApproveIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActionPlanListId", DbType="NVarChar(50)")]
public string ActionPlanListId
{
get
{
return this._ActionPlanListId;
}
set
{
if ((this._ActionPlanListId != value))
{
if (this._ActionPlan_ActionPlanList.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnActionPlanListIdChanging(value);
this.SendPropertyChanging();
this._ActionPlanListId = value;
this.SendPropertyChanged("ActionPlanListId");
this.OnActionPlanListIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")]
public string ApproveMan
{
get
{
return this._ApproveMan;
}
set
{
if ((this._ApproveMan != value))
{
if (this._Person_Persons.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnApproveManChanging(value);
this.SendPropertyChanging();
this._ApproveMan = value;
this.SendPropertyChanged("ApproveMan");
this.OnApproveManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveDate", DbType="DateTime")]
public System.Nullable<System.DateTime> ApproveDate
{
get
{
return this._ApproveDate;
}
set
{
if ((this._ApproveDate != value))
{
this.OnApproveDateChanging(value);
this.SendPropertyChanging();
this._ApproveDate = value;
this.SendPropertyChanged("ApproveDate");
this.OnApproveDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")]
public System.Nullable<bool> IsAgree
{
get
{
return this._IsAgree;
}
set
{
if ((this._IsAgree != value))
{
this.OnIsAgreeChanging(value);
this.SendPropertyChanging();
this._IsAgree = value;
this.SendPropertyChanged("IsAgree");
this.OnIsAgreeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
public string ApproveIdea
{
get
{
return this._ApproveIdea;
}
set
{
if ((this._ApproveIdea != value))
{
this.OnApproveIdeaChanging(value);
this.SendPropertyChanging();
this._ApproveIdea = value;
this.SendPropertyChanged("ApproveIdea");
this.OnApproveIdeaChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Char(1)")]
public string ApproveType
{
get
{
return this._ApproveType;
}
set
{
if ((this._ApproveType != value))
{
this.OnApproveTypeChanging(value);
this.SendPropertyChanging();
this._ApproveType = value;
this.SendPropertyChanged("ApproveType");
this.OnApproveTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(200)")]
public string AttachUrl
{
get
{
return this._AttachUrl;
}
set
{
if ((this._AttachUrl != value))
{
this.OnAttachUrlChanging(value);
this.SendPropertyChanging();
this._AttachUrl = value;
this.SendPropertyChanged("AttachUrl");
this.OnAttachUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignType", DbType="NVarChar(20)")]
public string SignType
{
get
{
return this._SignType;
}
set
{
if ((this._SignType != value))
{
this.OnSignTypeChanging(value);
this.SendPropertyChanging();
this._SignType = value;
this.SendPropertyChanged("SignType");
this.OnSignTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Edition", DbType="Int")]
public System.Nullable<int> Edition
{
get
{
return this._Edition;
}
set
{
if ((this._Edition != value))
{
this.OnEditionChanging(value);
this.SendPropertyChanging();
this._Edition = value;
this.SendPropertyChanged("Edition");
this.OnEditionChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_ActionPlanListApprove_ActionPlan_ActionPlanList", Storage="_ActionPlan_ActionPlanList", ThisKey="ActionPlanListId", OtherKey="ActionPlanListId", IsForeignKey=true)]
public ActionPlan_ActionPlanList ActionPlan_ActionPlanList
{
get
{
return this._ActionPlan_ActionPlanList.Entity;
}
set
{
ActionPlan_ActionPlanList previousValue = this._ActionPlan_ActionPlanList.Entity;
if (((previousValue != value)
|| (this._ActionPlan_ActionPlanList.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._ActionPlan_ActionPlanList.Entity = null;
previousValue.ActionPlan_ActionPlanListApprove.Remove(this);
}
this._ActionPlan_ActionPlanList.Entity = value;
if ((value != null))
{
value.ActionPlan_ActionPlanListApprove.Add(this);
this._ActionPlanListId = value.ActionPlanListId;
}
else
{
this._ActionPlanListId = default(string);
}
this.SendPropertyChanged("ActionPlan_ActionPlanList");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_ActionPlanListApprove_Person_Persons", Storage="_Person_Persons", ThisKey="ApproveMan", OtherKey="PersonId", IsForeignKey=true)]
public Person_Persons Person_Persons
{
get
{
return this._Person_Persons.Entity;
}
set
{
Person_Persons previousValue = this._Person_Persons.Entity;
if (((previousValue != value)
|| (this._Person_Persons.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Person_Persons.Entity = null;
previousValue.ActionPlan_ActionPlanListApprove.Remove(this);
}
this._Person_Persons.Entity = value;
if ((value != null))
{
value.ActionPlan_ActionPlanListApprove.Add(this);
this._ApproveMan = value.PersonId;
}
else
{
this._ApproveMan = default(string);
}
this.SendPropertyChanged("Person_Persons");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -93804,7 +94299,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(1000)")]
public string CanWelderCode
{
get
@@ -93824,7 +94319,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderId", DbType="NVarChar(4000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderId", DbType="NVarChar(3000)")]
public string CanWelderId
{
get
@@ -149256,6 +149751,8 @@ namespace Model
private EntitySet<ActionPlan_ActionPlanList> _ActionPlan_ActionPlanList;
private EntitySet<ActionPlan_ActionPlanListApprove> _ActionPlan_ActionPlanListApprove;
private EntitySet<ActionPlan_CompanyManagerRule> _ActionPlan_CompanyManagerRule;
private EntitySet<ActionPlan_ManagerRule> _ActionPlan_ManagerRule;
@@ -149848,6 +150345,7 @@ namespace Model
this._Accident_AccidentReportOtherItem = new EntitySet<Accident_AccidentReportOtherItem>(new Action<Accident_AccidentReportOtherItem>(this.attach_Accident_AccidentReportOtherItem), new Action<Accident_AccidentReportOtherItem>(this.detach_Accident_AccidentReportOtherItem));
this._Accident_NoFourLetoff = new EntitySet<Accident_NoFourLetoff>(new Action<Accident_NoFourLetoff>(this.attach_Accident_NoFourLetoff), new Action<Accident_NoFourLetoff>(this.detach_Accident_NoFourLetoff));
this._ActionPlan_ActionPlanList = new EntitySet<ActionPlan_ActionPlanList>(new Action<ActionPlan_ActionPlanList>(this.attach_ActionPlan_ActionPlanList), new Action<ActionPlan_ActionPlanList>(this.detach_ActionPlan_ActionPlanList));
this._ActionPlan_ActionPlanListApprove = new EntitySet<ActionPlan_ActionPlanListApprove>(new Action<ActionPlan_ActionPlanListApprove>(this.attach_ActionPlan_ActionPlanListApprove), new Action<ActionPlan_ActionPlanListApprove>(this.detach_ActionPlan_ActionPlanListApprove));
this._ActionPlan_CompanyManagerRule = new EntitySet<ActionPlan_CompanyManagerRule>(new Action<ActionPlan_CompanyManagerRule>(this.attach_ActionPlan_CompanyManagerRule), new Action<ActionPlan_CompanyManagerRule>(this.detach_ActionPlan_CompanyManagerRule));
this._ActionPlan_ManagerRule = new EntitySet<ActionPlan_ManagerRule>(new Action<ActionPlan_ManagerRule>(this.attach_ActionPlan_ManagerRule), new Action<ActionPlan_ManagerRule>(this.detach_ActionPlan_ManagerRule));
this._ActionPlan_ProjectManagerRule = new EntitySet<ActionPlan_ProjectManagerRule>(new Action<ActionPlan_ProjectManagerRule>(this.attach_ActionPlan_ProjectManagerRule), new Action<ActionPlan_ProjectManagerRule>(this.detach_ActionPlan_ProjectManagerRule));
@@ -151437,6 +151935,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_ActionPlanListApprove_Person_Persons", Storage="_ActionPlan_ActionPlanListApprove", ThisKey="PersonId", OtherKey="ApproveMan", DeleteRule="NO ACTION")]
public EntitySet<ActionPlan_ActionPlanListApprove> ActionPlan_ActionPlanListApprove
{
get
{
return this._ActionPlan_ActionPlanListApprove;
}
set
{
this._ActionPlan_ActionPlanListApprove.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_CompanyManagerRule_Person_Persons_CompileMan", Storage="_ActionPlan_CompanyManagerRule", ThisKey="PersonId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<ActionPlan_CompanyManagerRule> ActionPlan_CompanyManagerRule
{
@@ -154575,6 +155086,18 @@ namespace Model
entity.Person_Persons = null;
}
private void attach_ActionPlan_ActionPlanListApprove(ActionPlan_ActionPlanListApprove entity)
{
this.SendPropertyChanging();
entity.Person_Persons = this;
}
private void detach_ActionPlan_ActionPlanListApprove(ActionPlan_ActionPlanListApprove entity)
{
this.SendPropertyChanging();
entity.Person_Persons = null;
}
private void attach_ActionPlan_CompanyManagerRule(ActionPlan_CompanyManagerRule entity)
{
this.SendPropertyChanging();
@@ -202920,7 +203443,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RewardAndPunishDecision", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RewardAndPunishDecision", DbType="NVarChar(100)")]
public string RewardAndPunishDecision
{
get
@@ -257822,8 +258345,6 @@ namespace Model
private string _DNDia;
private System.Nullable<decimal> _Size;
private System.Nullable<decimal> _Thickness;
private string _Remark;
@@ -257972,22 +258493,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Size", DbType="Decimal(8,3)")]
public System.Nullable<decimal> Size
{
get
{
return this._Size;
}
set
{
if ((this._Size != value))
{
this._Size = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Thickness", DbType="Decimal(8,3)")]
public System.Nullable<decimal> Thickness
{
@@ -259340,7 +259845,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(1000)")]
public string CanWelderCode
{
get
@@ -259356,7 +259861,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderId", DbType="NVarChar(4000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderId", DbType="NVarChar(3000)")]
public string CanWelderId
{
get