新增:安全技术数据

This commit is contained in:
2026-09-11 11:14:08 +08:00
parent 9bce0d340f
commit 5a2830d36a
24 changed files with 5065 additions and 292 deletions
+909
View File
@@ -2555,6 +2555,15 @@ namespace Model
partial void InsertSys_parameter(Sys_parameter instance);
partial void UpdateSys_parameter(Sys_parameter instance);
partial void DeleteSys_parameter(Sys_parameter instance);
partial void InsertSys_PdfBook(Sys_PdfBook instance);
partial void UpdateSys_PdfBook(Sys_PdfBook instance);
partial void DeleteSys_PdfBook(Sys_PdfBook instance);
partial void InsertSys_PdfChapter(Sys_PdfChapter instance);
partial void UpdateSys_PdfChapter(Sys_PdfChapter instance);
partial void DeleteSys_PdfChapter(Sys_PdfChapter instance);
partial void InsertSys_PdfPage(Sys_PdfPage instance);
partial void UpdateSys_PdfPage(Sys_PdfPage instance);
partial void DeleteSys_PdfPage(Sys_PdfPage instance);
partial void InsertSys_Role(Sys_Role instance);
partial void UpdateSys_Role(Sys_Role instance);
partial void DeleteSys_Role(Sys_Role instance);
@@ -9693,6 +9702,30 @@ namespace Model
}
}
public System.Data.Linq.Table<Sys_PdfBook> Sys_PdfBook
{
get
{
return this.GetTable<Sys_PdfBook>();
}
}
public System.Data.Linq.Table<Sys_PdfChapter> Sys_PdfChapter
{
get
{
return this.GetTable<Sys_PdfChapter>();
}
}
public System.Data.Linq.Table<Sys_PdfPage> Sys_PdfPage
{
get
{
return this.GetTable<Sys_PdfPage>();
}
}
public System.Data.Linq.Table<Sys_Role> Sys_Role
{
get
@@ -402209,6 +402242,882 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_PdfBook")]
public partial class Sys_PdfBook : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _BookId;
private string _Title;
private string _FilePath;
private System.Nullable<int> _TotalPages;
private System.Nullable<int> _IndexStatus;
private System.Nullable<int> _IndexProgress;
private System.Nullable<int> _Dpi;
private string _FileHash;
private System.Nullable<System.DateTime> _LastIndexTime;
private string _CreateUser;
private System.Nullable<System.DateTime> _CreateTime;
private EntitySet<Sys_PdfChapter> _Sys_PdfChapter;
private EntitySet<Sys_PdfPage> _Sys_PdfPage;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnBookIdChanging(string value);
partial void OnBookIdChanged();
partial void OnTitleChanging(string value);
partial void OnTitleChanged();
partial void OnFilePathChanging(string value);
partial void OnFilePathChanged();
partial void OnTotalPagesChanging(System.Nullable<int> value);
partial void OnTotalPagesChanged();
partial void OnIndexStatusChanging(System.Nullable<int> value);
partial void OnIndexStatusChanged();
partial void OnIndexProgressChanging(System.Nullable<int> value);
partial void OnIndexProgressChanged();
partial void OnDpiChanging(System.Nullable<int> value);
partial void OnDpiChanged();
partial void OnFileHashChanging(string value);
partial void OnFileHashChanged();
partial void OnLastIndexTimeChanging(System.Nullable<System.DateTime> value);
partial void OnLastIndexTimeChanged();
partial void OnCreateUserChanging(string value);
partial void OnCreateUserChanged();
partial void OnCreateTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreateTimeChanged();
#endregion
public Sys_PdfBook()
{
this._Sys_PdfChapter = new EntitySet<Sys_PdfChapter>(new Action<Sys_PdfChapter>(this.attach_Sys_PdfChapter), new Action<Sys_PdfChapter>(this.detach_Sys_PdfChapter));
this._Sys_PdfPage = new EntitySet<Sys_PdfPage>(new Action<Sys_PdfPage>(this.attach_Sys_PdfPage), new Action<Sys_PdfPage>(this.detach_Sys_PdfPage));
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BookId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string BookId
{
get
{
return this._BookId;
}
set
{
if ((this._BookId != value))
{
this.OnBookIdChanging(value);
this.SendPropertyChanging();
this._BookId = value;
this.SendPropertyChanged("BookId");
this.OnBookIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Title", DbType="NVarChar(200)")]
public string Title
{
get
{
return this._Title;
}
set
{
if ((this._Title != value))
{
this.OnTitleChanging(value);
this.SendPropertyChanging();
this._Title = value;
this.SendPropertyChanged("Title");
this.OnTitleChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilePath", DbType="NVarChar(500)")]
public string FilePath
{
get
{
return this._FilePath;
}
set
{
if ((this._FilePath != value))
{
this.OnFilePathChanging(value);
this.SendPropertyChanging();
this._FilePath = value;
this.SendPropertyChanged("FilePath");
this.OnFilePathChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPages", DbType="Int")]
public System.Nullable<int> TotalPages
{
get
{
return this._TotalPages;
}
set
{
if ((this._TotalPages != value))
{
this.OnTotalPagesChanging(value);
this.SendPropertyChanging();
this._TotalPages = value;
this.SendPropertyChanged("TotalPages");
this.OnTotalPagesChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndexStatus", DbType="Int")]
public System.Nullable<int> IndexStatus
{
get
{
return this._IndexStatus;
}
set
{
if ((this._IndexStatus != value))
{
this.OnIndexStatusChanging(value);
this.SendPropertyChanging();
this._IndexStatus = value;
this.SendPropertyChanged("IndexStatus");
this.OnIndexStatusChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndexProgress", DbType="Int")]
public System.Nullable<int> IndexProgress
{
get
{
return this._IndexProgress;
}
set
{
if ((this._IndexProgress != value))
{
this.OnIndexProgressChanging(value);
this.SendPropertyChanging();
this._IndexProgress = value;
this.SendPropertyChanged("IndexProgress");
this.OnIndexProgressChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dpi", DbType="Int")]
public System.Nullable<int> Dpi
{
get
{
return this._Dpi;
}
set
{
if ((this._Dpi != value))
{
this.OnDpiChanging(value);
this.SendPropertyChanging();
this._Dpi = value;
this.SendPropertyChanged("Dpi");
this.OnDpiChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileHash", DbType="NVarChar(64)")]
public string FileHash
{
get
{
return this._FileHash;
}
set
{
if ((this._FileHash != value))
{
this.OnFileHashChanging(value);
this.SendPropertyChanging();
this._FileHash = value;
this.SendPropertyChanged("FileHash");
this.OnFileHashChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastIndexTime", DbType="DateTime")]
public System.Nullable<System.DateTime> LastIndexTime
{
get
{
return this._LastIndexTime;
}
set
{
if ((this._LastIndexTime != value))
{
this.OnLastIndexTimeChanging(value);
this.SendPropertyChanging();
this._LastIndexTime = value;
this.SendPropertyChanged("LastIndexTime");
this.OnLastIndexTimeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateUser", DbType="NVarChar(50)")]
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();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CreateTime
{
get
{
return this._CreateTime;
}
set
{
if ((this._CreateTime != value))
{
this.OnCreateTimeChanging(value);
this.SendPropertyChanging();
this._CreateTime = value;
this.SendPropertyChanged("CreateTime");
this.OnCreateTimeChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PdfChapter_Book", Storage="_Sys_PdfChapter", ThisKey="BookId", OtherKey="BookId", DeleteRule="NO ACTION")]
public EntitySet<Sys_PdfChapter> Sys_PdfChapter
{
get
{
return this._Sys_PdfChapter;
}
set
{
this._Sys_PdfChapter.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PdfPage_Book", Storage="_Sys_PdfPage", ThisKey="BookId", OtherKey="BookId", DeleteRule="NO ACTION")]
public EntitySet<Sys_PdfPage> Sys_PdfPage
{
get
{
return this._Sys_PdfPage;
}
set
{
this._Sys_PdfPage.Assign(value);
}
}
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));
}
}
private void attach_Sys_PdfChapter(Sys_PdfChapter entity)
{
this.SendPropertyChanging();
entity.Sys_PdfBook = this;
}
private void detach_Sys_PdfChapter(Sys_PdfChapter entity)
{
this.SendPropertyChanging();
entity.Sys_PdfBook = null;
}
private void attach_Sys_PdfPage(Sys_PdfPage entity)
{
this.SendPropertyChanging();
entity.Sys_PdfBook = this;
}
private void detach_Sys_PdfPage(Sys_PdfPage entity)
{
this.SendPropertyChanging();
entity.Sys_PdfBook = null;
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_PdfChapter")]
public partial class Sys_PdfChapter : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ChapterId;
private string _BookId;
private string _ParentChapterId;
private System.Nullable<int> _Level;
private string _ChapterTitle;
private System.Nullable<int> _PageStart;
private System.Nullable<int> _PageEnd;
private string _Text;
private System.Nullable<int> _SortNo;
private EntityRef<Sys_PdfBook> _Sys_PdfBook;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnChapterIdChanging(string value);
partial void OnChapterIdChanged();
partial void OnBookIdChanging(string value);
partial void OnBookIdChanged();
partial void OnParentChapterIdChanging(string value);
partial void OnParentChapterIdChanged();
partial void OnLevelChanging(System.Nullable<int> value);
partial void OnLevelChanged();
partial void OnChapterTitleChanging(string value);
partial void OnChapterTitleChanged();
partial void OnPageStartChanging(System.Nullable<int> value);
partial void OnPageStartChanged();
partial void OnPageEndChanging(System.Nullable<int> value);
partial void OnPageEndChanged();
partial void OnTextChanging(string value);
partial void OnTextChanged();
partial void OnSortNoChanging(System.Nullable<int> value);
partial void OnSortNoChanged();
#endregion
public Sys_PdfChapter()
{
this._Sys_PdfBook = default(EntityRef<Sys_PdfBook>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ChapterId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ChapterId
{
get
{
return this._ChapterId;
}
set
{
if ((this._ChapterId != value))
{
this.OnChapterIdChanging(value);
this.SendPropertyChanging();
this._ChapterId = value;
this.SendPropertyChanged("ChapterId");
this.OnChapterIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BookId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string BookId
{
get
{
return this._BookId;
}
set
{
if ((this._BookId != value))
{
if (this._Sys_PdfBook.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnBookIdChanging(value);
this.SendPropertyChanging();
this._BookId = value;
this.SendPropertyChanged("BookId");
this.OnBookIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ParentChapterId", DbType="NVarChar(50)")]
public string ParentChapterId
{
get
{
return this._ParentChapterId;
}
set
{
if ((this._ParentChapterId != value))
{
this.OnParentChapterIdChanging(value);
this.SendPropertyChanging();
this._ParentChapterId = value;
this.SendPropertyChanged("ParentChapterId");
this.OnParentChapterIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Level", DbType="Int")]
public System.Nullable<int> Level
{
get
{
return this._Level;
}
set
{
if ((this._Level != value))
{
this.OnLevelChanging(value);
this.SendPropertyChanging();
this._Level = value;
this.SendPropertyChanged("Level");
this.OnLevelChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ChapterTitle", DbType="NVarChar(200)")]
public string ChapterTitle
{
get
{
return this._ChapterTitle;
}
set
{
if ((this._ChapterTitle != value))
{
this.OnChapterTitleChanging(value);
this.SendPropertyChanging();
this._ChapterTitle = value;
this.SendPropertyChanged("ChapterTitle");
this.OnChapterTitleChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageStart", DbType="Int")]
public System.Nullable<int> PageStart
{
get
{
return this._PageStart;
}
set
{
if ((this._PageStart != value))
{
this.OnPageStartChanging(value);
this.SendPropertyChanging();
this._PageStart = value;
this.SendPropertyChanged("PageStart");
this.OnPageStartChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageEnd", DbType="Int")]
public System.Nullable<int> PageEnd
{
get
{
return this._PageEnd;
}
set
{
if ((this._PageEnd != value))
{
this.OnPageEndChanging(value);
this.SendPropertyChanging();
this._PageEnd = value;
this.SendPropertyChanged("PageEnd");
this.OnPageEndChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Text", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Text
{
get
{
return this._Text;
}
set
{
if ((this._Text != value))
{
this.OnTextChanging(value);
this.SendPropertyChanging();
this._Text = value;
this.SendPropertyChanged("Text");
this.OnTextChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortNo", DbType="Int")]
public System.Nullable<int> SortNo
{
get
{
return this._SortNo;
}
set
{
if ((this._SortNo != value))
{
this.OnSortNoChanging(value);
this.SendPropertyChanging();
this._SortNo = value;
this.SendPropertyChanged("SortNo");
this.OnSortNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PdfChapter_Book", Storage="_Sys_PdfBook", ThisKey="BookId", OtherKey="BookId", IsForeignKey=true)]
public Sys_PdfBook Sys_PdfBook
{
get
{
return this._Sys_PdfBook.Entity;
}
set
{
Sys_PdfBook previousValue = this._Sys_PdfBook.Entity;
if (((previousValue != value)
|| (this._Sys_PdfBook.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Sys_PdfBook.Entity = null;
previousValue.Sys_PdfChapter.Remove(this);
}
this._Sys_PdfBook.Entity = value;
if ((value != null))
{
value.Sys_PdfChapter.Add(this);
this._BookId = value.BookId;
}
else
{
this._BookId = default(string);
}
this.SendPropertyChanged("Sys_PdfBook");
}
}
}
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.Sys_PdfPage")]
public partial class Sys_PdfPage : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _PageId;
private string _BookId;
private System.Nullable<int> _PageNo;
private string _Text;
private System.Nullable<int> _OcrStatus;
private System.Nullable<int> _RetryCount;
private EntityRef<Sys_PdfBook> _Sys_PdfBook;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnPageIdChanging(string value);
partial void OnPageIdChanged();
partial void OnBookIdChanging(string value);
partial void OnBookIdChanged();
partial void OnPageNoChanging(System.Nullable<int> value);
partial void OnPageNoChanged();
partial void OnTextChanging(string value);
partial void OnTextChanged();
partial void OnOcrStatusChanging(System.Nullable<int> value);
partial void OnOcrStatusChanged();
partial void OnRetryCountChanging(System.Nullable<int> value);
partial void OnRetryCountChanged();
#endregion
public Sys_PdfPage()
{
this._Sys_PdfBook = default(EntityRef<Sys_PdfBook>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string PageId
{
get
{
return this._PageId;
}
set
{
if ((this._PageId != value))
{
this.OnPageIdChanging(value);
this.SendPropertyChanging();
this._PageId = value;
this.SendPropertyChanged("PageId");
this.OnPageIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BookId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string BookId
{
get
{
return this._BookId;
}
set
{
if ((this._BookId != value))
{
if (this._Sys_PdfBook.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnBookIdChanging(value);
this.SendPropertyChanging();
this._BookId = value;
this.SendPropertyChanged("BookId");
this.OnBookIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageNo", DbType="Int")]
public System.Nullable<int> PageNo
{
get
{
return this._PageNo;
}
set
{
if ((this._PageNo != value))
{
this.OnPageNoChanging(value);
this.SendPropertyChanging();
this._PageNo = value;
this.SendPropertyChanged("PageNo");
this.OnPageNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Text", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Text
{
get
{
return this._Text;
}
set
{
if ((this._Text != value))
{
this.OnTextChanging(value);
this.SendPropertyChanging();
this._Text = value;
this.SendPropertyChanged("Text");
this.OnTextChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OcrStatus", DbType="Int")]
public System.Nullable<int> OcrStatus
{
get
{
return this._OcrStatus;
}
set
{
if ((this._OcrStatus != value))
{
this.OnOcrStatusChanging(value);
this.SendPropertyChanging();
this._OcrStatus = value;
this.SendPropertyChanged("OcrStatus");
this.OnOcrStatusChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RetryCount", DbType="Int")]
public System.Nullable<int> RetryCount
{
get
{
return this._RetryCount;
}
set
{
if ((this._RetryCount != value))
{
this.OnRetryCountChanging(value);
this.SendPropertyChanging();
this._RetryCount = value;
this.SendPropertyChanged("RetryCount");
this.OnRetryCountChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PdfPage_Book", Storage="_Sys_PdfBook", ThisKey="BookId", OtherKey="BookId", IsForeignKey=true)]
public Sys_PdfBook Sys_PdfBook
{
get
{
return this._Sys_PdfBook.Entity;
}
set
{
Sys_PdfBook previousValue = this._Sys_PdfBook.Entity;
if (((previousValue != value)
|| (this._Sys_PdfBook.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Sys_PdfBook.Entity = null;
previousValue.Sys_PdfPage.Remove(this);
}
this._Sys_PdfBook.Entity = value;
if ((value != null))
{
value.Sys_PdfPage.Add(this);
this._BookId = value.BookId;
}
else
{
this._BookId = default(string);
}
this.SendPropertyChanged("Sys_PdfBook");
}
}
}
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.Sys_Role")]
public partial class Sys_Role : INotifyPropertyChanging, INotifyPropertyChanged
{