项目主数据

This commit is contained in:
geh
2026-06-11 09:52:30 +08:00
parent eb3003bc21
commit 716c838be0
29 changed files with 2957 additions and 212 deletions
+385
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_MasterDataAnalysis(Project_MasterDataAnalysis instance);
partial void UpdateProject_MasterDataAnalysis(Project_MasterDataAnalysis instance);
partial void DeleteProject_MasterDataAnalysis(Project_MasterDataAnalysis instance);
partial void InsertProject_MasterDataUsage(Project_MasterDataUsage instance);
partial void UpdateProject_MasterDataUsage(Project_MasterDataUsage instance);
partial void DeleteProject_MasterDataUsage(Project_MasterDataUsage instance);
@@ -8385,6 +8388,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Project_MasterDataAnalysis> Project_MasterDataAnalysis
{
get
{
return this.GetTable<Project_MasterDataAnalysis>();
}
}
public System.Data.Linq.Table<Project_MasterDataUsage> Project_MasterDataUsage
{
get
@@ -28048,6 +28059,8 @@ namespace Model
private string _YunMouGroupId;
private System.Nullable<bool> _IsCNCECShow;
private EntitySet<Accident_AccidentHandle> _Accident_AccidentHandle;
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
@@ -28812,6 +28825,8 @@ namespace Model
partial void OnIsYunMouChanged();
partial void OnYunMouGroupIdChanging(string value);
partial void OnYunMouGroupIdChanged();
partial void OnIsCNCECShowChanging(System.Nullable<bool> value);
partial void OnIsCNCECShowChanged();
#endregion
public Base_Project()
@@ -30062,6 +30077,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCNCECShow", DbType="Bit")]
public System.Nullable<bool> IsCNCECShow
{
get
{
return this._IsCNCECShow;
}
set
{
if ((this._IsCNCECShow != value))
{
this.OnIsCNCECShowChanging(value);
this.SendPropertyChanging();
this._IsCNCECShow = value;
this.SendPropertyChanged("IsCNCECShow");
this.OnIsCNCECShowChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentHandle_Base_Project", Storage="_Accident_AccidentHandle", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<Accident_AccidentHandle> Accident_AccidentHandle
{
@@ -327902,6 +327937,356 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_MasterDataAnalysis")]
public partial class Project_MasterDataAnalysis : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _CollCropCode;
private string _UnitId;
private System.DateTime _ReportDate;
private System.DateTime _DataDate;
private int _Total;
private int _MasterTotal;
private int _QHSETotal;
private int _ZhengChang;
private int _DaiJian;
private int _BuYong;
private int _YuLiXiang;
private string _CreateUser;
#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 OnCollCropCodeChanging(string value);
partial void OnCollCropCodeChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnReportDateChanging(System.DateTime value);
partial void OnReportDateChanged();
partial void OnDataDateChanging(System.DateTime value);
partial void OnDataDateChanged();
partial void OnTotalChanging(int value);
partial void OnTotalChanged();
partial void OnMasterTotalChanging(int value);
partial void OnMasterTotalChanged();
partial void OnQHSETotalChanging(int value);
partial void OnQHSETotalChanged();
partial void OnZhengChangChanging(int value);
partial void OnZhengChangChanged();
partial void OnDaiJianChanging(int value);
partial void OnDaiJianChanged();
partial void OnBuYongChanging(int value);
partial void OnBuYongChanged();
partial void OnYuLiXiangChanging(int value);
partial void OnYuLiXiangChanged();
partial void OnCreateUserChanging(string value);
partial void OnCreateUserChanged();
#endregion
public Project_MasterDataAnalysis()
{
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="_CollCropCode", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
public string CollCropCode
{
get
{
return this._CollCropCode;
}
set
{
if ((this._CollCropCode != value))
{
this.OnCollCropCodeChanging(value);
this.SendPropertyChanging();
this._CollCropCode = value;
this.SendPropertyChanged("CollCropCode");
this.OnCollCropCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
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="_ReportDate", DbType="DateTime NOT NULL")]
public System.DateTime 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="_DataDate", DbType="DateTime NOT NULL")]
public System.DateTime DataDate
{
get
{
return this._DataDate;
}
set
{
if ((this._DataDate != value))
{
this.OnDataDateChanging(value);
this.SendPropertyChanging();
this._DataDate = value;
this.SendPropertyChanged("DataDate");
this.OnDataDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Total", DbType="Int NOT NULL")]
public int Total
{
get
{
return this._Total;
}
set
{
if ((this._Total != value))
{
this.OnTotalChanging(value);
this.SendPropertyChanging();
this._Total = value;
this.SendPropertyChanged("Total");
this.OnTotalChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MasterTotal", DbType="Int NOT NULL")]
public int MasterTotal
{
get
{
return this._MasterTotal;
}
set
{
if ((this._MasterTotal != value))
{
this.OnMasterTotalChanging(value);
this.SendPropertyChanging();
this._MasterTotal = value;
this.SendPropertyChanged("MasterTotal");
this.OnMasterTotalChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QHSETotal", DbType="Int NOT NULL")]
public int QHSETotal
{
get
{
return this._QHSETotal;
}
set
{
if ((this._QHSETotal != value))
{
this.OnQHSETotalChanging(value);
this.SendPropertyChanging();
this._QHSETotal = value;
this.SendPropertyChanged("QHSETotal");
this.OnQHSETotalChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ZhengChang", DbType="Int NOT NULL")]
public int ZhengChang
{
get
{
return this._ZhengChang;
}
set
{
if ((this._ZhengChang != value))
{
this.OnZhengChangChanging(value);
this.SendPropertyChanging();
this._ZhengChang = value;
this.SendPropertyChanged("ZhengChang");
this.OnZhengChangChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DaiJian", DbType="Int NOT NULL")]
public int DaiJian
{
get
{
return this._DaiJian;
}
set
{
if ((this._DaiJian != value))
{
this.OnDaiJianChanging(value);
this.SendPropertyChanging();
this._DaiJian = value;
this.SendPropertyChanged("DaiJian");
this.OnDaiJianChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuYong", DbType="Int NOT NULL")]
public int BuYong
{
get
{
return this._BuYong;
}
set
{
if ((this._BuYong != value))
{
this.OnBuYongChanging(value);
this.SendPropertyChanging();
this._BuYong = value;
this.SendPropertyChanged("BuYong");
this.OnBuYongChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YuLiXiang", DbType="Int NOT NULL")]
public int YuLiXiang
{
get
{
return this._YuLiXiang;
}
set
{
if ((this._YuLiXiang != value))
{
this.OnYuLiXiangChanging(value);
this.SendPropertyChanging();
this._YuLiXiang = value;
this.SendPropertyChanged("YuLiXiang");
this.OnYuLiXiangChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateUser", DbType="NVarChar(200) NOT NULL", CanBeNull=false)]
public string CreateUser
{
get
{
return this._CreateUser;
}
set
{
if ((this._CreateUser != value))
{
this.OnCreateUserChanging(value);
this.SendPropertyChanging();
this._CreateUser = value;
this.SendPropertyChanged("CreateUser");
this.OnCreateUserChanged();
}
}
}
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_MasterDataUsage")]
public partial class Project_MasterDataUsage : INotifyPropertyChanging, INotifyPropertyChanged
{