From 6a8dfcf18bc312dd930c9d84d4fa5ce39855c8c5 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 24 Jul 2024 10:04:29 +0200 Subject: [PATCH] fehlende TwoFactorCode Dateien eingecheckt --- Data/Entities/TwoFactorCode.cs | 26 ++++++++++++++++++++++ Data/Mappings/TwoFactorCode.hbm.xml | 26 ++++++++++++++++++++++ Model/Changes_2024_07_16_TwoFactorCode.txt | 18 +++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 Data/Entities/TwoFactorCode.cs create mode 100644 Data/Mappings/TwoFactorCode.hbm.xml create mode 100644 Model/Changes_2024_07_16_TwoFactorCode.txt diff --git a/Data/Entities/TwoFactorCode.cs b/Data/Entities/TwoFactorCode.cs new file mode 100644 index 000000000..9bf27a1c9 --- /dev/null +++ b/Data/Entities/TwoFactorCode.cs @@ -0,0 +1,26 @@ +using BS.Shared; +using BS.Shared.DataContracts; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BeWo.Data.Entities +{ + public class TwoFactorCode : BeWoEntityBase + { + + public TwoFactorCode() + { + _Tid = TableID.TwoFactorCode; + } + + public virtual string TFCode { get; set; } + public virtual string LoginName { get; set; } + public virtual string Password { get; set; } + public virtual string IPAddress { get; set; } + public virtual DateTime CreateDate { get; set; } + public virtual DateTime UsedDate { get; set; } + } +} diff --git a/Data/Mappings/TwoFactorCode.hbm.xml b/Data/Mappings/TwoFactorCode.hbm.xml new file mode 100644 index 000000000..5800a2468 --- /dev/null +++ b/Data/Mappings/TwoFactorCode.hbm.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Model/Changes_2024_07_16_TwoFactorCode.txt b/Model/Changes_2024_07_16_TwoFactorCode.txt new file mode 100644 index 000000000..440bdeac3 --- /dev/null +++ b/Model/Changes_2024_07_16_TwoFactorCode.txt @@ -0,0 +1,18 @@ +CREATE TABLE `twofactorcode` ( + Oid BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY, + InsTs DATETIME DEFAULT NULL, + UpdTs DATETIME DEFAULT NULL, + InsUser VARCHAR(256) DEFAULT NULL, + UdpUser VARCHAR(256) DEFAULT NULL, + Tid INT NOT NULL, + Notice VARCHAR(1024) DEFAULT NULL, + Version BIGINT DEFAULT NULL, + IsActive TINYINT DEFAULT NULL, + SystemEntryID INT DEFAULT NULL, + TFCode VARCHAR(16) DEFAULT NULL, + LoginName VARCHAR(256) DEFAULT NULL, + Password VARCHAR(1024) DEFAULT NULL, + IPAddress VARCHAR(256) DEFAULT NULL, + CreateDate DATETIME DEFAULT NULL, + UsedDate DATETIME DEFAULT NULL +) ENGINE=InnoDB; \ No newline at end of file