数据治理

This commit is contained in:
geh
2026-07-09 14:55:17 +08:00
parent 2e4e5d2b59
commit f9d6a03933
17 changed files with 3345 additions and 636 deletions
+852
View File
@@ -830,6 +830,9 @@ namespace Model
partial void InsertDataBase_StartWorkReport(DataBase_StartWorkReport instance);
partial void UpdateDataBase_StartWorkReport(DataBase_StartWorkReport instance);
partial void DeleteDataBase_StartWorkReport(DataBase_StartWorkReport instance);
partial void InsertDataGovernance_MetricData(DataGovernance_MetricData instance);
partial void UpdateDataGovernance_MetricData(DataGovernance_MetricData instance);
partial void DeleteDataGovernance_MetricData(DataGovernance_MetricData instance);
partial void InsertDataIdMove(DataIdMove instance);
partial void UpdateDataIdMove(DataIdMove instance);
partial void DeleteDataIdMove(DataIdMove instance);
@@ -5188,6 +5191,14 @@ namespace Model
}
}
public System.Data.Linq.Table<DataGovernance_MetricData> DataGovernance_MetricData
{
get
{
return this.GetTable<DataGovernance_MetricData>();
}
}
public System.Data.Linq.Table<DataIdMove> DataIdMove
{
get
@@ -11532,6 +11543,14 @@ namespace Model
}
}
public System.Data.Linq.Table<View_Project_MasterDataAnalysis> View_Project_MasterDataAnalysis
{
get
{
return this.GetTable<View_Project_MasterDataAnalysis>();
}
}
public System.Data.Linq.Table<View_ProjectAccident_AccidentAnalysis> View_ProjectAccident_AccidentAnalysis
{
get
@@ -141198,6 +141217,260 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.DataGovernance_MetricData")]
public partial class DataGovernance_MetricData : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _Name;
private string _Field;
private int _Frequency;
private bool _IsKeyMetric;
private string _Type;
private string _Remark;
private System.DateTime _CreateDate;
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 OnNameChanging(string value);
partial void OnNameChanged();
partial void OnFieldChanging(string value);
partial void OnFieldChanged();
partial void OnFrequencyChanging(int value);
partial void OnFrequencyChanged();
partial void OnIsKeyMetricChanging(bool value);
partial void OnIsKeyMetricChanged();
partial void OnTypeChanging(string value);
partial void OnTypeChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreateDateChanging(System.DateTime value);
partial void OnCreateDateChanged();
partial void OnCreateUserChanging(string value);
partial void OnCreateUserChanged();
#endregion
public DataGovernance_MetricData()
{
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="_Name", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
public string Name
{
get
{
return this._Name;
}
set
{
if ((this._Name != value))
{
this.OnNameChanging(value);
this.SendPropertyChanging();
this._Name = value;
this.SendPropertyChanged("Name");
this.OnNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Field", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
public string Field
{
get
{
return this._Field;
}
set
{
if ((this._Field != value))
{
this.OnFieldChanging(value);
this.SendPropertyChanging();
this._Field = value;
this.SendPropertyChanged("Field");
this.OnFieldChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Frequency", DbType="Int NOT NULL")]
public int Frequency
{
get
{
return this._Frequency;
}
set
{
if ((this._Frequency != value))
{
this.OnFrequencyChanging(value);
this.SendPropertyChanging();
this._Frequency = value;
this.SendPropertyChanged("Frequency");
this.OnFrequencyChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsKeyMetric", DbType="Bit NOT NULL")]
public bool IsKeyMetric
{
get
{
return this._IsKeyMetric;
}
set
{
if ((this._IsKeyMetric != value))
{
this.OnIsKeyMetricChanging(value);
this.SendPropertyChanging();
this._IsKeyMetric = value;
this.SendPropertyChanged("IsKeyMetric");
this.OnIsKeyMetricChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
public string 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="_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="_CreateDate", DbType="DateTime NOT NULL")]
public System.DateTime CreateDate
{
get
{
return this._CreateDate;
}
set
{
if ((this._CreateDate != value))
{
this.OnCreateDateChanging(value);
this.SendPropertyChanging();
this._CreateDate = value;
this.SendPropertyChanged("CreateDate");
this.OnCreateDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateUser", DbType="NVarChar(50) 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.DataIdMove")]
public partial class DataIdMove : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -327969,6 +328242,22 @@ namespace Model
private string _CreateUser;
private System.Nullable<int> _TianBao;
private System.Nullable<int> _YiShangXian;
private System.Nullable<decimal> _OnlineRate;
private System.Nullable<int> _BuYongYiWanGong;
private System.Nullable<int> _BuYongTingHuanJian;
private System.Nullable<int> _BuYongTJShouXian;
private System.Nullable<int> _ThisMonActiveUserNum;
private System.Nullable<decimal> _DailyAvg;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -327999,6 +328288,22 @@ namespace Model
partial void OnYuLiXiangChanged();
partial void OnCreateUserChanging(string value);
partial void OnCreateUserChanged();
partial void OnTianBaoChanging(System.Nullable<int> value);
partial void OnTianBaoChanged();
partial void OnYiShangXianChanging(System.Nullable<int> value);
partial void OnYiShangXianChanged();
partial void OnOnlineRateChanging(System.Nullable<decimal> value);
partial void OnOnlineRateChanged();
partial void OnBuYongYiWanGongChanging(System.Nullable<int> value);
partial void OnBuYongYiWanGongChanged();
partial void OnBuYongTingHuanJianChanging(System.Nullable<int> value);
partial void OnBuYongTingHuanJianChanged();
partial void OnBuYongTJShouXianChanging(System.Nullable<int> value);
partial void OnBuYongTJShouXianChanged();
partial void OnThisMonActiveUserNumChanging(System.Nullable<int> value);
partial void OnThisMonActiveUserNumChanged();
partial void OnDailyAvgChanging(System.Nullable<decimal> value);
partial void OnDailyAvgChanged();
#endregion
public Project_MasterDataAnalysis()
@@ -328266,6 +328571,166 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TianBao", DbType="Int")]
public System.Nullable<int> TianBao
{
get
{
return this._TianBao;
}
set
{
if ((this._TianBao != value))
{
this.OnTianBaoChanging(value);
this.SendPropertyChanging();
this._TianBao = value;
this.SendPropertyChanged("TianBao");
this.OnTianBaoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YiShangXian", DbType="Int")]
public System.Nullable<int> YiShangXian
{
get
{
return this._YiShangXian;
}
set
{
if ((this._YiShangXian != value))
{
this.OnYiShangXianChanging(value);
this.SendPropertyChanging();
this._YiShangXian = value;
this.SendPropertyChanged("YiShangXian");
this.OnYiShangXianChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OnlineRate", DbType="Decimal(18,2)")]
public System.Nullable<decimal> OnlineRate
{
get
{
return this._OnlineRate;
}
set
{
if ((this._OnlineRate != value))
{
this.OnOnlineRateChanging(value);
this.SendPropertyChanging();
this._OnlineRate = value;
this.SendPropertyChanged("OnlineRate");
this.OnOnlineRateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuYongYiWanGong", DbType="Int")]
public System.Nullable<int> BuYongYiWanGong
{
get
{
return this._BuYongYiWanGong;
}
set
{
if ((this._BuYongYiWanGong != value))
{
this.OnBuYongYiWanGongChanging(value);
this.SendPropertyChanging();
this._BuYongYiWanGong = value;
this.SendPropertyChanged("BuYongYiWanGong");
this.OnBuYongYiWanGongChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuYongTingHuanJian", DbType="Int")]
public System.Nullable<int> BuYongTingHuanJian
{
get
{
return this._BuYongTingHuanJian;
}
set
{
if ((this._BuYongTingHuanJian != value))
{
this.OnBuYongTingHuanJianChanging(value);
this.SendPropertyChanging();
this._BuYongTingHuanJian = value;
this.SendPropertyChanged("BuYongTingHuanJian");
this.OnBuYongTingHuanJianChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuYongTJShouXian", DbType="Int")]
public System.Nullable<int> BuYongTJShouXian
{
get
{
return this._BuYongTJShouXian;
}
set
{
if ((this._BuYongTJShouXian != value))
{
this.OnBuYongTJShouXianChanging(value);
this.SendPropertyChanging();
this._BuYongTJShouXian = value;
this.SendPropertyChanged("BuYongTJShouXian");
this.OnBuYongTJShouXianChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisMonActiveUserNum", DbType="Int")]
public System.Nullable<int> ThisMonActiveUserNum
{
get
{
return this._ThisMonActiveUserNum;
}
set
{
if ((this._ThisMonActiveUserNum != value))
{
this.OnThisMonActiveUserNumChanging(value);
this.SendPropertyChanging();
this._ThisMonActiveUserNum = value;
this.SendPropertyChanged("ThisMonActiveUserNum");
this.OnThisMonActiveUserNumChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DailyAvg", DbType="Decimal(18,2)")]
public System.Nullable<decimal> DailyAvg
{
get
{
return this._DailyAvg;
}
set
{
if ((this._DailyAvg != value))
{
this.OnDailyAvgChanging(value);
this.SendPropertyChanging();
this._DailyAvg = value;
this.SendPropertyChanged("DailyAvg");
this.OnDailyAvgChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -506185,6 +506650,393 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Project_MasterDataAnalysis")]
public partial class View_Project_MasterDataAnalysis
{
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;
private System.Nullable<int> _TianBao;
private System.Nullable<int> _YiShangXian;
private System.Nullable<decimal> _OnlineRate;
private System.Nullable<int> _BuYongYiWanGong;
private System.Nullable<int> _BuYongTingHuanJian;
private System.Nullable<int> _BuYongTJShouXian;
private System.Nullable<int> _ThisMonActiveUserNum;
private System.Nullable<decimal> _DailyAvg;
public View_Project_MasterDataAnalysis()
{
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this._Id = value;
}
}
}
[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._CollCropCode = value;
}
}
}
[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._UnitId = value;
}
}
}
[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._ReportDate = value;
}
}
}
[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._DataDate = value;
}
}
}
[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._Total = value;
}
}
}
[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._MasterTotal = value;
}
}
}
[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._QHSETotal = value;
}
}
}
[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._ZhengChang = value;
}
}
}
[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._DaiJian = value;
}
}
}
[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._BuYong = value;
}
}
}
[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._YuLiXiang = value;
}
}
}
[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._CreateUser = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TianBao", DbType="Int")]
public System.Nullable<int> TianBao
{
get
{
return this._TianBao;
}
set
{
if ((this._TianBao != value))
{
this._TianBao = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YiShangXian", DbType="Int")]
public System.Nullable<int> YiShangXian
{
get
{
return this._YiShangXian;
}
set
{
if ((this._YiShangXian != value))
{
this._YiShangXian = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OnlineRate", DbType="Decimal(18,2)")]
public System.Nullable<decimal> OnlineRate
{
get
{
return this._OnlineRate;
}
set
{
if ((this._OnlineRate != value))
{
this._OnlineRate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuYongYiWanGong", DbType="Int")]
public System.Nullable<int> BuYongYiWanGong
{
get
{
return this._BuYongYiWanGong;
}
set
{
if ((this._BuYongYiWanGong != value))
{
this._BuYongYiWanGong = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuYongTingHuanJian", DbType="Int")]
public System.Nullable<int> BuYongTingHuanJian
{
get
{
return this._BuYongTingHuanJian;
}
set
{
if ((this._BuYongTingHuanJian != value))
{
this._BuYongTingHuanJian = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuYongTJShouXian", DbType="Int")]
public System.Nullable<int> BuYongTJShouXian
{
get
{
return this._BuYongTJShouXian;
}
set
{
if ((this._BuYongTJShouXian != value))
{
this._BuYongTJShouXian = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisMonActiveUserNum", DbType="Int")]
public System.Nullable<int> ThisMonActiveUserNum
{
get
{
return this._ThisMonActiveUserNum;
}
set
{
if ((this._ThisMonActiveUserNum != value))
{
this._ThisMonActiveUserNum = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DailyAvg", DbType="Decimal(18,2)")]
public System.Nullable<decimal> DailyAvg
{
get
{
return this._DailyAvg;
}
set
{
if ((this._DailyAvg != value))
{
this._DailyAvg = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ProjectAccident_AccidentAnalysis")]
public partial class View_ProjectAccident_AccidentAnalysis
{