集团主数据在建项目使用情况

This commit is contained in:
geh
2026-05-26 15:48:00 +08:00
parent b3b3334466
commit 5d423fdcc5
19 changed files with 3580 additions and 408 deletions
+505
View File
@@ -2021,6 +2021,9 @@ namespace Model
partial void InsertProject_Installation(Project_Installation instance);
partial void UpdateProject_Installation(Project_Installation instance);
partial void DeleteProject_Installation(Project_Installation instance);
partial void InsertProject_MasterDataUsage(Project_MasterDataUsage instance);
partial void UpdateProject_MasterDataUsage(Project_MasterDataUsage instance);
partial void DeleteProject_MasterDataUsage(Project_MasterDataUsage instance);
partial void InsertProject_Material(Project_Material instance);
partial void UpdateProject_Material(Project_Material instance);
partial void DeleteProject_Material(Project_Material instance);
@@ -8382,6 +8385,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Project_MasterDataUsage> Project_MasterDataUsage
{
get
{
return this.GetTable<Project_MasterDataUsage>();
}
}
public System.Data.Linq.Table<Project_Material> Project_Material
{
get
@@ -327891,6 +327902,500 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_MasterDataUsage")]
public partial class Project_MasterDataUsage : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _Pro_id;
private string _Pro_code;
private string _Pro_name;
private bool _Is_relate;
private bool _Is_use;
private string _Projectid;
private string _Projectname;
private string _Projectcode;
private string _Reason;
private string _Situation;
private string _Remark;
private string _Create_user;
private System.DateTime _Create_date;
private string _HandleMan;
private string _HandleManName;
private string _HandleState;
private System.Nullable<System.DateTime> _HandleDate;
private string _ReasonType;
#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 OnPro_idChanging(string value);
partial void OnPro_idChanged();
partial void OnPro_codeChanging(string value);
partial void OnPro_codeChanged();
partial void OnPro_nameChanging(string value);
partial void OnPro_nameChanged();
partial void OnIs_relateChanging(bool value);
partial void OnIs_relateChanged();
partial void OnIs_useChanging(bool value);
partial void OnIs_useChanged();
partial void OnProjectidChanging(string value);
partial void OnProjectidChanged();
partial void OnProjectnameChanging(string value);
partial void OnProjectnameChanged();
partial void OnProjectcodeChanging(string value);
partial void OnProjectcodeChanged();
partial void OnReasonChanging(string value);
partial void OnReasonChanged();
partial void OnSituationChanging(string value);
partial void OnSituationChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreate_userChanging(string value);
partial void OnCreate_userChanged();
partial void OnCreate_dateChanging(System.DateTime value);
partial void OnCreate_dateChanged();
partial void OnHandleManChanging(string value);
partial void OnHandleManChanged();
partial void OnHandleManNameChanging(string value);
partial void OnHandleManNameChanged();
partial void OnHandleStateChanging(string value);
partial void OnHandleStateChanged();
partial void OnHandleDateChanging(System.Nullable<System.DateTime> value);
partial void OnHandleDateChanged();
partial void OnReasonTypeChanging(string value);
partial void OnReasonTypeChanged();
#endregion
public Project_MasterDataUsage()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="id", 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(Name="pro_id", Storage="_Pro_id", DbType="VarChar(32)")]
public string Pro_id
{
get
{
return this._Pro_id;
}
set
{
if ((this._Pro_id != value))
{
this.OnPro_idChanging(value);
this.SendPropertyChanging();
this._Pro_id = value;
this.SendPropertyChanged("Pro_id");
this.OnPro_idChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pro_code", Storage="_Pro_code", DbType="VarChar(200)")]
public string Pro_code
{
get
{
return this._Pro_code;
}
set
{
if ((this._Pro_code != value))
{
this.OnPro_codeChanging(value);
this.SendPropertyChanging();
this._Pro_code = value;
this.SendPropertyChanged("Pro_code");
this.OnPro_codeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pro_name", Storage="_Pro_name", DbType="VarChar(500)")]
public string Pro_name
{
get
{
return this._Pro_name;
}
set
{
if ((this._Pro_name != value))
{
this.OnPro_nameChanging(value);
this.SendPropertyChanging();
this._Pro_name = value;
this.SendPropertyChanged("Pro_name");
this.OnPro_nameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="is_relate", Storage="_Is_relate", DbType="Bit NOT NULL")]
public bool Is_relate
{
get
{
return this._Is_relate;
}
set
{
if ((this._Is_relate != value))
{
this.OnIs_relateChanging(value);
this.SendPropertyChanging();
this._Is_relate = value;
this.SendPropertyChanged("Is_relate");
this.OnIs_relateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="is_use", Storage="_Is_use", DbType="Bit NOT NULL")]
public bool Is_use
{
get
{
return this._Is_use;
}
set
{
if ((this._Is_use != value))
{
this.OnIs_useChanging(value);
this.SendPropertyChanging();
this._Is_use = value;
this.SendPropertyChanged("Is_use");
this.OnIs_useChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projectid", 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(Name="projectname", 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(Name="projectcode", Storage="_Projectcode", DbType="VarChar(100)")]
public string Projectcode
{
get
{
return this._Projectcode;
}
set
{
if ((this._Projectcode != value))
{
this.OnProjectcodeChanging(value);
this.SendPropertyChanging();
this._Projectcode = value;
this.SendPropertyChanged("Projectcode");
this.OnProjectcodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reason", Storage="_Reason", DbType="NVarChar(500)")]
public string Reason
{
get
{
return this._Reason;
}
set
{
if ((this._Reason != value))
{
this.OnReasonChanging(value);
this.SendPropertyChanging();
this._Reason = value;
this.SendPropertyChanged("Reason");
this.OnReasonChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="situation", Storage="_Situation", DbType="NVarChar(500)")]
public string Situation
{
get
{
return this._Situation;
}
set
{
if ((this._Situation != value))
{
this.OnSituationChanging(value);
this.SendPropertyChanging();
this._Situation = value;
this.SendPropertyChanged("Situation");
this.OnSituationChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="remark", Storage="_Remark", DbType="NVarChar(500)")]
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(Name="create_user", Storage="_Create_user", DbType="VarChar(100) NOT NULL", CanBeNull=false)]
public string Create_user
{
get
{
return this._Create_user;
}
set
{
if ((this._Create_user != value))
{
this.OnCreate_userChanging(value);
this.SendPropertyChanging();
this._Create_user = value;
this.SendPropertyChanged("Create_user");
this.OnCreate_userChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="create_date", Storage="_Create_date", DbType="DateTime NOT NULL")]
public System.DateTime Create_date
{
get
{
return this._Create_date;
}
set
{
if ((this._Create_date != value))
{
this.OnCreate_dateChanging(value);
this.SendPropertyChanging();
this._Create_date = value;
this.SendPropertyChanged("Create_date");
this.OnCreate_dateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleMan", DbType="NVarChar(50)")]
public string HandleMan
{
get
{
return this._HandleMan;
}
set
{
if ((this._HandleMan != value))
{
this.OnHandleManChanging(value);
this.SendPropertyChanging();
this._HandleMan = value;
this.SendPropertyChanged("HandleMan");
this.OnHandleManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleManName", DbType="NVarChar(50)")]
public string HandleManName
{
get
{
return this._HandleManName;
}
set
{
if ((this._HandleManName != value))
{
this.OnHandleManNameChanging(value);
this.SendPropertyChanging();
this._HandleManName = value;
this.SendPropertyChanged("HandleManName");
this.OnHandleManNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleState", DbType="Char(1)")]
public string HandleState
{
get
{
return this._HandleState;
}
set
{
if ((this._HandleState != value))
{
this.OnHandleStateChanging(value);
this.SendPropertyChanging();
this._HandleState = value;
this.SendPropertyChanged("HandleState");
this.OnHandleStateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleDate", DbType="DateTime")]
public System.Nullable<System.DateTime> HandleDate
{
get
{
return this._HandleDate;
}
set
{
if ((this._HandleDate != value))
{
this.OnHandleDateChanging(value);
this.SendPropertyChanging();
this._HandleDate = value;
this.SendPropertyChanged("HandleDate");
this.OnHandleDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReasonType", DbType="NVarChar(50)")]
public string ReasonType
{
get
{
return this._ReasonType;
}
set
{
if ((this._ReasonType != value))
{
this.OnReasonTypeChanging(value);
this.SendPropertyChanging();
this._ReasonType = value;
this.SendPropertyChanged("ReasonType");
this.OnReasonTypeChanged();
}
}
}
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.Project_Material")]
public partial class Project_Material : INotifyPropertyChanging, INotifyPropertyChanged
{