Merge branch 'master' of http://47.104.102.122:3000/lpf/SGGL_SeDin_New
This commit is contained in:
commit
2a0b8e7041
|
|
@ -0,0 +1,36 @@
|
|||
INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'E4DC0A35-C585-4C4F-8F79-10F528892314', N'项目设备', NULL, N'ProjectData/ProjectDevices.aspx', '86', N'0', N'Menu_ProjectSet', '0', '1', '1');
|
||||
|
||||
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'1E3A5ADC-BAA7-45BC-AAF9-012A024F4752', N'E4DC0A35-C585-4C4F-8F79-10F528892314', N'保存', '4');
|
||||
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'37E51622-FB4E-40F4-8D37-603EE626DB7F', N'E4DC0A35-C585-4C4F-8F79-10F528892314', N'增加', '1');
|
||||
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'6EBFA308-581A-4260-9ECA-7E30283EF9EA', N'E4DC0A35-C585-4C4F-8F79-10F528892314', N'删除', '3');
|
||||
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'939F4F2D-F03B-4DBD-963C-D55196535D8C', N'E4DC0A35-C585-4C4F-8F79-10F528892314', N'修改', '2');
|
||||
|
||||
|
||||
|
||||
Alter TABLE [dbo].[Base_Project]
|
||||
add
|
||||
[IsYunMou] [bit] NULL,
|
||||
[YunMouGroupId] [nvarchar](50) NULL
|
||||
|
||||
GO
|
||||
|
||||
CREATE TABLE [dbo].[Project_Devices](
|
||||
[DeviceId] [nvarchar](50) NOT NULL,
|
||||
[DeviceName] [nvarchar](50) NULL,
|
||||
[Address] [nvarchar](500) NULL,
|
||||
[CreateDate] [date] NULL,
|
||||
[ProjectId] [nvarchar](50) NULL,
|
||||
[DeviceSerial] [nvarchar](50) NULL,
|
||||
[isInOut] [nvarchar](50) NULL,
|
||||
[ValidateCode] [nvarchar](50) NULL,
|
||||
[YunMouDeviceId] [nvarchar](50) NULL,
|
||||
[YunMouPermission] [nvarchar](50) NULL,
|
||||
CONSTRAINT [PK_Project_Devices] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[DeviceId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
|
||||
|
|
@ -1268,6 +1268,9 @@ namespace Model
|
|||
partial void InsertProject_CQMSData_CQMS(Project_CQMSData_CQMS instance);
|
||||
partial void UpdateProject_CQMSData_CQMS(Project_CQMSData_CQMS instance);
|
||||
partial void DeleteProject_CQMSData_CQMS(Project_CQMSData_CQMS instance);
|
||||
partial void InsertProject_Devices(Project_Devices instance);
|
||||
partial void UpdateProject_Devices(Project_Devices instance);
|
||||
partial void DeleteProject_Devices(Project_Devices instance);
|
||||
partial void InsertProject_FileCabinet(Project_FileCabinet instance);
|
||||
partial void UpdateProject_FileCabinet(Project_FileCabinet instance);
|
||||
partial void DeleteProject_FileCabinet(Project_FileCabinet instance);
|
||||
|
|
@ -5241,6 +5244,14 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Project_Devices> Project_Devices
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Project_Devices>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Project_FileCabinet> Project_FileCabinet
|
||||
{
|
||||
get
|
||||
|
|
@ -12291,7 +12302,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(2000)")]
|
||||
public string ApproveIdea
|
||||
{
|
||||
get
|
||||
|
|
@ -22470,8 +22481,6 @@ namespace Model
|
|||
|
||||
private string _UnitId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _MaterialId;
|
||||
|
||||
private string _ColorName;
|
||||
|
|
@ -22482,6 +22491,8 @@ namespace Model
|
|||
|
||||
private string _Remark;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
|
@ -22490,8 +22501,6 @@ namespace Model
|
|||
partial void OnMaterialColorIdChanged();
|
||||
partial void OnUnitIdChanging(string value);
|
||||
partial void OnUnitIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnMaterialIdChanging(string value);
|
||||
partial void OnMaterialIdChanged();
|
||||
partial void OnColorNameChanging(string value);
|
||||
|
|
@ -22502,6 +22511,8 @@ namespace Model
|
|||
partial void OnRGBChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
#endregion
|
||||
|
||||
public Base_MaterialColor()
|
||||
|
|
@ -22549,26 +22560,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[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="_MaterialId", DbType="NVarChar(50)")]
|
||||
public string MaterialId
|
||||
{
|
||||
|
|
@ -22669,6 +22660,26 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
|
@ -24600,6 +24611,10 @@ namespace Model
|
|||
|
||||
private string _MasterSysId;
|
||||
|
||||
private System.Nullable<bool> _IsYunMou;
|
||||
|
||||
private string _YunMouGroupId;
|
||||
|
||||
private EntitySet<Accident_AccidentHandle> _Accident_AccidentHandle;
|
||||
|
||||
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
||||
|
|
@ -25030,6 +25045,10 @@ namespace Model
|
|||
partial void OnIsCNCECShowChanged();
|
||||
partial void OnMasterSysIdChanging(string value);
|
||||
partial void OnMasterSysIdChanged();
|
||||
partial void OnIsYunMouChanging(System.Nullable<bool> value);
|
||||
partial void OnIsYunMouChanged();
|
||||
partial void OnYunMouGroupIdChanging(string value);
|
||||
partial void OnYunMouGroupIdChanged();
|
||||
#endregion
|
||||
|
||||
public Base_Project()
|
||||
|
|
@ -25847,6 +25866,46 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsYunMou", DbType="Bit")]
|
||||
public System.Nullable<bool> IsYunMou
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsYunMou;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsYunMou != value))
|
||||
{
|
||||
this.OnIsYunMouChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsYunMou = value;
|
||||
this.SendPropertyChanged("IsYunMou");
|
||||
this.OnIsYunMouChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YunMouGroupId", DbType="NVarChar(50)")]
|
||||
public string YunMouGroupId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._YunMouGroupId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._YunMouGroupId != value))
|
||||
{
|
||||
this.OnYunMouGroupIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._YunMouGroupId = value;
|
||||
this.SendPropertyChanged("YunMouGroupId");
|
||||
this.OnYunMouGroupIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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
|
||||
{
|
||||
|
|
@ -97844,10 +97903,10 @@ namespace Model
|
|||
|
||||
private string _TrainNumber;
|
||||
|
||||
private string _TrainNumberId;
|
||||
|
||||
private System.Nullable<int> _TypeInt;
|
||||
|
||||
private string _TrainNumberId;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
|
@ -97882,10 +97941,10 @@ namespace Model
|
|||
partial void OnReceiveDateChanged();
|
||||
partial void OnTrainNumberChanging(string value);
|
||||
partial void OnTrainNumberChanged();
|
||||
partial void OnTrainNumberIdChanging(string value);
|
||||
partial void OnTrainNumberIdChanged();
|
||||
partial void OnTypeIntChanging(System.Nullable<int> value);
|
||||
partial void OnTypeIntChanged();
|
||||
partial void OnTrainNumberIdChanging(string value);
|
||||
partial void OnTrainNumberIdChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
|
|
@ -98139,26 +98198,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainNumberId", DbType="VarChar(50)")]
|
||||
public string TrainNumberId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainNumberId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainNumberId != value))
|
||||
{
|
||||
this.OnTrainNumberIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainNumberId = value;
|
||||
this.SendPropertyChanged("TrainNumberId");
|
||||
this.OnTrainNumberIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeInt", DbType="Int")]
|
||||
public System.Nullable<int> TypeInt
|
||||
{
|
||||
|
|
@ -98179,6 +98218,26 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainNumberId", DbType="VarChar(50)")]
|
||||
public string TrainNumberId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainNumberId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainNumberId != value))
|
||||
{
|
||||
this.OnTrainNumberIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainNumberId = value;
|
||||
this.SendPropertyChanged("TrainNumberId");
|
||||
this.OnTrainNumberIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
|
||||
public string CompileMan
|
||||
{
|
||||
|
|
@ -109426,7 +109485,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(500)")]
|
||||
public string Rectification
|
||||
{
|
||||
get
|
||||
|
|
@ -109552,7 +109611,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measures", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measures", DbType="NVarChar(500)")]
|
||||
public string Measures
|
||||
{
|
||||
get
|
||||
|
|
@ -162267,7 +162326,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(500)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(3000)")]
|
||||
public string AttentPerson
|
||||
{
|
||||
get
|
||||
|
|
@ -193250,7 +193309,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(255)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string ProjectDescription
|
||||
{
|
||||
get
|
||||
|
|
@ -193370,7 +193429,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(255)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string CalculationRule
|
||||
{
|
||||
get
|
||||
|
|
@ -193430,7 +193489,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(100)")]
|
||||
public string ConstructionSubcontractor
|
||||
{
|
||||
get
|
||||
|
|
@ -193814,7 +193873,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,2)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,3)")]
|
||||
public System.Nullable<decimal> WorkPackageEstimate
|
||||
{
|
||||
get
|
||||
|
|
@ -194119,6 +194178,16 @@ namespace Model
|
|||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _ContractId;
|
||||
|
||||
private string _OrderCode;
|
||||
|
||||
private System.Nullable<System.DateTime> _OrderInDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _OrderOutDate;
|
||||
|
||||
private string _MaterialRequisitionUnit;
|
||||
|
||||
private System.Nullable<int> _State;
|
||||
|
||||
private string _InvoiceCode;
|
||||
|
|
@ -194147,16 +194216,6 @@ namespace Model
|
|||
|
||||
private string _CreateUser;
|
||||
|
||||
private string _ContractId;
|
||||
|
||||
private System.Nullable<System.DateTime> _OrderInDate;
|
||||
|
||||
private string _OrderCode;
|
||||
|
||||
private System.Nullable<System.DateTime> _OrderOutDate;
|
||||
|
||||
private string _MaterialRequisitionUnit;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
|
@ -194165,6 +194224,16 @@ namespace Model
|
|||
partial void OnInvoiceIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnContractIdChanging(string value);
|
||||
partial void OnContractIdChanged();
|
||||
partial void OnOrderCodeChanging(string value);
|
||||
partial void OnOrderCodeChanged();
|
||||
partial void OnOrderInDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnOrderInDateChanged();
|
||||
partial void OnOrderOutDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnOrderOutDateChanged();
|
||||
partial void OnMaterialRequisitionUnitChanging(string value);
|
||||
partial void OnMaterialRequisitionUnitChanged();
|
||||
partial void OnStateChanging(System.Nullable<int> value);
|
||||
partial void OnStateChanged();
|
||||
partial void OnInvoiceCodeChanging(string value);
|
||||
|
|
@ -194193,16 +194262,6 @@ namespace Model
|
|||
partial void OnCreateDateChanged();
|
||||
partial void OnCreateUserChanging(string value);
|
||||
partial void OnCreateUserChanged();
|
||||
partial void OnContractIdChanging(string value);
|
||||
partial void OnContractIdChanged();
|
||||
partial void OnOrderInDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnOrderInDateChanged();
|
||||
partial void OnOrderCodeChanging(string value);
|
||||
partial void OnOrderCodeChanged();
|
||||
partial void OnOrderOutDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnOrderOutDateChanged();
|
||||
partial void OnMaterialRequisitionUnitChanging(string value);
|
||||
partial void OnMaterialRequisitionUnitChanged();
|
||||
#endregion
|
||||
|
||||
public PHTGL_Invoice()
|
||||
|
|
@ -194250,6 +194309,106 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractId", DbType="NVarChar(50)")]
|
||||
public string ContractId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ContractId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ContractId != value))
|
||||
{
|
||||
this.OnContractIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ContractId = value;
|
||||
this.SendPropertyChanged("ContractId");
|
||||
this.OnContractIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderCode", DbType="NVarChar(50)")]
|
||||
public string OrderCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderCode != value))
|
||||
{
|
||||
this.OnOrderCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderCode = value;
|
||||
this.SendPropertyChanged("OrderCode");
|
||||
this.OnOrderCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInDate", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> OrderInDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderInDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderInDate != value))
|
||||
{
|
||||
this.OnOrderInDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderInDate = value;
|
||||
this.SendPropertyChanged("OrderInDate");
|
||||
this.OnOrderInDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderOutDate", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> OrderOutDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderOutDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderOutDate != value))
|
||||
{
|
||||
this.OnOrderOutDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderOutDate = value;
|
||||
this.SendPropertyChanged("OrderOutDate");
|
||||
this.OnOrderOutDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialRequisitionUnit", DbType="NVarChar(100)")]
|
||||
public string MaterialRequisitionUnit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaterialRequisitionUnit;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaterialRequisitionUnit != value))
|
||||
{
|
||||
this.OnMaterialRequisitionUnitChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaterialRequisitionUnit = value;
|
||||
this.SendPropertyChanged("MaterialRequisitionUnit");
|
||||
this.OnMaterialRequisitionUnitChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Int")]
|
||||
public System.Nullable<int> State
|
||||
{
|
||||
|
|
@ -194530,106 +194689,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractId", DbType="NVarChar(50)")]
|
||||
public string ContractId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ContractId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ContractId != value))
|
||||
{
|
||||
this.OnContractIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ContractId = value;
|
||||
this.SendPropertyChanged("ContractId");
|
||||
this.OnContractIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInDate", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> OrderInDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderInDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderInDate != value))
|
||||
{
|
||||
this.OnOrderInDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderInDate = value;
|
||||
this.SendPropertyChanged("OrderInDate");
|
||||
this.OnOrderInDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderCode", DbType="NVarChar(50)")]
|
||||
public string OrderCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderCode != value))
|
||||
{
|
||||
this.OnOrderCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderCode = value;
|
||||
this.SendPropertyChanged("OrderCode");
|
||||
this.OnOrderCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderOutDate", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> OrderOutDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderOutDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderOutDate != value))
|
||||
{
|
||||
this.OnOrderOutDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderOutDate = value;
|
||||
this.SendPropertyChanged("OrderOutDate");
|
||||
this.OnOrderOutDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialRequisitionUnit", DbType="NVarChar(100)")]
|
||||
public string MaterialRequisitionUnit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaterialRequisitionUnit;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaterialRequisitionUnit != value))
|
||||
{
|
||||
this.OnMaterialRequisitionUnitChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaterialRequisitionUnit = value;
|
||||
this.SendPropertyChanged("MaterialRequisitionUnit");
|
||||
this.OnMaterialRequisitionUnitChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
|
@ -205038,6 +205097,284 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_Devices")]
|
||||
public partial class Project_Devices : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _DeviceId;
|
||||
|
||||
private string _DeviceName;
|
||||
|
||||
private string _Address;
|
||||
|
||||
private System.Nullable<System.DateTime> _CreateDate;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _DeviceSerial;
|
||||
|
||||
private string _IsInOut;
|
||||
|
||||
private string _ValidateCode;
|
||||
|
||||
private string _YunMouDeviceId;
|
||||
|
||||
private string _YunMouPermission;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnDeviceIdChanging(string value);
|
||||
partial void OnDeviceIdChanged();
|
||||
partial void OnDeviceNameChanging(string value);
|
||||
partial void OnDeviceNameChanged();
|
||||
partial void OnAddressChanging(string value);
|
||||
partial void OnAddressChanged();
|
||||
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCreateDateChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnDeviceSerialChanging(string value);
|
||||
partial void OnDeviceSerialChanged();
|
||||
partial void OnIsInOutChanging(string value);
|
||||
partial void OnIsInOutChanged();
|
||||
partial void OnValidateCodeChanging(string value);
|
||||
partial void OnValidateCodeChanged();
|
||||
partial void OnYunMouDeviceIdChanging(string value);
|
||||
partial void OnYunMouDeviceIdChanged();
|
||||
partial void OnYunMouPermissionChanging(string value);
|
||||
partial void OnYunMouPermissionChanged();
|
||||
#endregion
|
||||
|
||||
public Project_Devices()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeviceId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string DeviceId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DeviceId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DeviceId != value))
|
||||
{
|
||||
this.OnDeviceIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DeviceId = value;
|
||||
this.SendPropertyChanged("DeviceId");
|
||||
this.OnDeviceIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeviceName", DbType="NVarChar(50)")]
|
||||
public string DeviceName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DeviceName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DeviceName != value))
|
||||
{
|
||||
this.OnDeviceNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DeviceName = value;
|
||||
this.SendPropertyChanged("DeviceName");
|
||||
this.OnDeviceNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(500)")]
|
||||
public string Address
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Address;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Address != value))
|
||||
{
|
||||
this.OnAddressChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Address = value;
|
||||
this.SendPropertyChanged("Address");
|
||||
this.OnAddressChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="Date")]
|
||||
public System.Nullable<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="_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="_DeviceSerial", DbType="NVarChar(50)")]
|
||||
public string DeviceSerial
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DeviceSerial;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DeviceSerial != value))
|
||||
{
|
||||
this.OnDeviceSerialChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DeviceSerial = value;
|
||||
this.SendPropertyChanged("DeviceSerial");
|
||||
this.OnDeviceSerialChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="isInOut", Storage="_IsInOut", DbType="NVarChar(50)")]
|
||||
public string IsInOut
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsInOut;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsInOut != value))
|
||||
{
|
||||
this.OnIsInOutChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsInOut = value;
|
||||
this.SendPropertyChanged("IsInOut");
|
||||
this.OnIsInOutChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ValidateCode", DbType="NVarChar(50)")]
|
||||
public string ValidateCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ValidateCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ValidateCode != value))
|
||||
{
|
||||
this.OnValidateCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ValidateCode = value;
|
||||
this.SendPropertyChanged("ValidateCode");
|
||||
this.OnValidateCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YunMouDeviceId", DbType="NVarChar(50)")]
|
||||
public string YunMouDeviceId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._YunMouDeviceId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._YunMouDeviceId != value))
|
||||
{
|
||||
this.OnYunMouDeviceIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._YunMouDeviceId = value;
|
||||
this.SendPropertyChanged("YunMouDeviceId");
|
||||
this.OnYunMouDeviceIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YunMouPermission", DbType="NVarChar(50)")]
|
||||
public string YunMouPermission
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._YunMouPermission;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._YunMouPermission != value))
|
||||
{
|
||||
this.OnYunMouPermissionChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._YunMouPermission = value;
|
||||
this.SendPropertyChanged("YunMouPermission");
|
||||
this.OnYunMouPermissionChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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_FileCabinet")]
|
||||
public partial class Project_FileCabinet : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
|
@ -282807,6 +283144,8 @@ namespace Model
|
|||
|
||||
private string _ProblemTypes;
|
||||
|
||||
private string _RiskLevel;
|
||||
|
||||
private System.Nullable<int> _SortIndex;
|
||||
|
||||
private string _Situation;
|
||||
|
|
@ -283131,6 +283470,22 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RiskLevel", DbType="NVarChar(50)")]
|
||||
public string RiskLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RiskLevel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RiskLevel != value))
|
||||
{
|
||||
this._RiskLevel = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
|
||||
public System.Nullable<int> SortIndex
|
||||
{
|
||||
|
|
@ -317351,7 +317706,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
|
|
@ -317928,7 +318283,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
|
|
@ -318119,7 +318474,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
|
|
@ -323458,7 +323813,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
|
|
@ -324930,7 +325285,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
|
|
@ -334481,7 +334836,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(500)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(1500)")]
|
||||
public string ContractNo
|
||||
{
|
||||
get
|
||||
|
|
@ -334501,7 +334856,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(500)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(1500)")]
|
||||
public string UnitWorks
|
||||
{
|
||||
get
|
||||
|
|
|
|||
Loading…
Reference in New Issue