基础字典补充:员工分类、员工子组、机构划分

This commit is contained in:
2025-08-08 10:14:10 +08:00
parent 79a7f35e22
commit fd849d42e1
243 changed files with 3117 additions and 26975 deletions
+507
View File
@@ -116,6 +116,12 @@ namespace Model
partial void InsertBase_EmergencyType(Base_EmergencyType instance);
partial void UpdateBase_EmergencyType(Base_EmergencyType instance);
partial void DeleteBase_EmergencyType(Base_EmergencyType instance);
partial void InsertBase_EmployeeCategory(Base_EmployeeCategory instance);
partial void UpdateBase_EmployeeCategory(Base_EmployeeCategory instance);
partial void DeleteBase_EmployeeCategory(Base_EmployeeCategory instance);
partial void InsertBase_EmployeeSubgroup(Base_EmployeeSubgroup instance);
partial void UpdateBase_EmployeeSubgroup(Base_EmployeeSubgroup instance);
partial void DeleteBase_EmployeeSubgroup(Base_EmployeeSubgroup instance);
partial void InsertBase_Equipment(Base_Equipment instance);
partial void UpdateBase_Equipment(Base_Equipment instance);
partial void DeleteBase_Equipment(Base_Equipment instance);
@@ -143,6 +149,9 @@ namespace Model
partial void InsertBase_InspectionArea(Base_InspectionArea instance);
partial void UpdateBase_InspectionArea(Base_InspectionArea instance);
partial void DeleteBase_InspectionArea(Base_InspectionArea instance);
partial void InsertBase_InstitutionalDivision(Base_InstitutionalDivision instance);
partial void UpdateBase_InstitutionalDivision(Base_InstitutionalDivision instance);
partial void DeleteBase_InstitutionalDivision(Base_InstitutionalDivision instance);
partial void InsertBase_LaborTeam(Base_LaborTeam instance);
partial void UpdateBase_LaborTeam(Base_LaborTeam instance);
partial void DeleteBase_LaborTeam(Base_LaborTeam instance);
@@ -2963,6 +2972,22 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_EmployeeCategory> Base_EmployeeCategory
{
get
{
return this.GetTable<Base_EmployeeCategory>();
}
}
public System.Data.Linq.Table<Base_EmployeeSubgroup> Base_EmployeeSubgroup
{
get
{
return this.GetTable<Base_EmployeeSubgroup>();
}
}
public System.Data.Linq.Table<Base_Equipment> Base_Equipment
{
get
@@ -3035,6 +3060,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_InstitutionalDivision> Base_InstitutionalDivision
{
get
{
return this.GetTable<Base_InstitutionalDivision>();
}
}
public System.Data.Linq.Table<Base_LaborTeam> Base_LaborTeam
{
get
@@ -22828,6 +22861,274 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_EmployeeCategory")]
public partial class Base_EmployeeCategory : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _CategoryId;
private string _CategoryName;
private string _CategoryCode;
private string _Remark;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnCategoryIdChanging(string value);
partial void OnCategoryIdChanged();
partial void OnCategoryNameChanging(string value);
partial void OnCategoryNameChanged();
partial void OnCategoryCodeChanging(string value);
partial void OnCategoryCodeChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public Base_EmployeeCategory()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string CategoryId
{
get
{
return this._CategoryId;
}
set
{
if ((this._CategoryId != value))
{
this.OnCategoryIdChanging(value);
this.SendPropertyChanging();
this._CategoryId = value;
this.SendPropertyChanged("CategoryId");
this.OnCategoryIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryName", DbType="NVarChar(100)")]
public string CategoryName
{
get
{
return this._CategoryName;
}
set
{
if ((this._CategoryName != value))
{
this.OnCategoryNameChanging(value);
this.SendPropertyChanging();
this._CategoryName = value;
this.SendPropertyChanged("CategoryName");
this.OnCategoryNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryCode", DbType="NVarChar(50)")]
public string CategoryCode
{
get
{
return this._CategoryCode;
}
set
{
if ((this._CategoryCode != value))
{
this.OnCategoryCodeChanging(value);
this.SendPropertyChanging();
this._CategoryCode = value;
this.SendPropertyChanged("CategoryCode");
this.OnCategoryCodeChanged();
}
}
}
[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();
}
}
}
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.Base_EmployeeSubgroup")]
public partial class Base_EmployeeSubgroup : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _SubgroupId;
private string _SubgroupName;
private string _SubgroupCode;
private string _Remark;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnSubgroupIdChanging(string value);
partial void OnSubgroupIdChanged();
partial void OnSubgroupNameChanging(string value);
partial void OnSubgroupNameChanged();
partial void OnSubgroupCodeChanging(string value);
partial void OnSubgroupCodeChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public Base_EmployeeSubgroup()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubgroupId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string SubgroupId
{
get
{
return this._SubgroupId;
}
set
{
if ((this._SubgroupId != value))
{
this.OnSubgroupIdChanging(value);
this.SendPropertyChanging();
this._SubgroupId = value;
this.SendPropertyChanged("SubgroupId");
this.OnSubgroupIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubgroupName", DbType="NVarChar(100)")]
public string SubgroupName
{
get
{
return this._SubgroupName;
}
set
{
if ((this._SubgroupName != value))
{
this.OnSubgroupNameChanging(value);
this.SendPropertyChanging();
this._SubgroupName = value;
this.SendPropertyChanged("SubgroupName");
this.OnSubgroupNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubgroupCode", DbType="NVarChar(50)")]
public string SubgroupCode
{
get
{
return this._SubgroupCode;
}
set
{
if ((this._SubgroupCode != value))
{
this.OnSubgroupCodeChanging(value);
this.SendPropertyChanging();
this._SubgroupCode = value;
this.SendPropertyChanged("SubgroupCode");
this.OnSubgroupCodeChanged();
}
}
}
[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();
}
}
}
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.Base_Equipment")]
public partial class Base_Equipment : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -24639,6 +24940,140 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_InstitutionalDivision")]
public partial class Base_InstitutionalDivision : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _Name;
private string _Code;
private string _Remark;
#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 OnCodeChanging(string value);
partial void OnCodeChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public Base_InstitutionalDivision()
{
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)")]
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="_Code", DbType="NVarChar(50)")]
public string Code
{
get
{
return this._Code;
}
set
{
if ((this._Code != value))
{
this.OnCodeChanging(value);
this.SendPropertyChanging();
this._Code = value;
this.SendPropertyChanged("Code");
this.OnCodeChanged();
}
}
}
[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();
}
}
}
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.Base_LaborTeam")]
public partial class Base_LaborTeam : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -343312,6 +343747,12 @@ namespace Model
private string _States;
private string _EmployeeCategoryId;
private string _EmployeeSubgroupId;
private string _InstitutionalDivisionId;
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
private EntitySet<Accident_AccidentReportOtherItem> _Accident_AccidentReportOtherItem;
@@ -343504,6 +343945,12 @@ namespace Model
partial void OnBlackReasonChanged();
partial void OnStatesChanging(string value);
partial void OnStatesChanged();
partial void OnEmployeeCategoryIdChanging(string value);
partial void OnEmployeeCategoryIdChanged();
partial void OnEmployeeSubgroupIdChanging(string value);
partial void OnEmployeeSubgroupIdChanged();
partial void OnInstitutionalDivisionIdChanging(string value);
partial void OnInstitutionalDivisionIdChanged();
#endregion
public SitePerson_Person()
@@ -344872,6 +345319,66 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmployeeCategoryId", DbType="VarChar(50)")]
public string EmployeeCategoryId
{
get
{
return this._EmployeeCategoryId;
}
set
{
if ((this._EmployeeCategoryId != value))
{
this.OnEmployeeCategoryIdChanging(value);
this.SendPropertyChanging();
this._EmployeeCategoryId = value;
this.SendPropertyChanged("EmployeeCategoryId");
this.OnEmployeeCategoryIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmployeeSubgroupId", DbType="VarChar(50)")]
public string EmployeeSubgroupId
{
get
{
return this._EmployeeSubgroupId;
}
set
{
if ((this._EmployeeSubgroupId != value))
{
this.OnEmployeeSubgroupIdChanging(value);
this.SendPropertyChanging();
this._EmployeeSubgroupId = value;
this.SendPropertyChanged("EmployeeSubgroupId");
this.OnEmployeeSubgroupIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstitutionalDivisionId", DbType="VarChar(50)")]
public string InstitutionalDivisionId
{
get
{
return this._InstitutionalDivisionId;
}
set
{
if ((this._InstitutionalDivisionId != value))
{
this.OnInstitutionalDivisionIdChanging(value);
this.SendPropertyChanging();
this._InstitutionalDivisionId = value;
this.SendPropertyChanged("InstitutionalDivisionId");
this.OnInstitutionalDivisionIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_SitePerson_Person", Storage="_Accident_AccidentPersonRecord", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")]
public EntitySet<Accident_AccidentPersonRecord> Accident_AccidentPersonRecord
{