fehlende TwoFactorCode Dateien eingecheckt
This commit is contained in:
26
Data/Entities/TwoFactorCode.cs
Normal file
26
Data/Entities/TwoFactorCode.cs
Normal file
@@ -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; }
|
||||
}
|
||||
}
|
||||
26
Data/Mappings/TwoFactorCode.hbm.xml
Normal file
26
Data/Mappings/TwoFactorCode.hbm.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="BeWo.Data.Entities.TwoFactorCode,BeWo.Data">
|
||||
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
|
||||
<generator class="identity" />
|
||||
</id>
|
||||
<version column="Version" type="Int64" name="Version" />
|
||||
|
||||
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
||||
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
|
||||
<property column="Notice" type="String" name="Notice" length="1024" />
|
||||
<property column="InsTs" type="DateTime" name="InsTs" />
|
||||
<property column="UpdTs" type="DateTime" name="UpdTs" />
|
||||
<property column="InsUser" type="String" name="InsUser" length="256" />
|
||||
<property column="UdpUser" type="String" name="UdpUser" length="256" />
|
||||
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
|
||||
|
||||
<property name="TFCode" type="String" />
|
||||
<property name="LoginName" type="String" />
|
||||
<property name="Password" type="String" />
|
||||
<property name="IPAddress" type="String" />
|
||||
<property name="CreateDate" type="DateTime" />
|
||||
<property name="UsedDate" type="DateTime" />
|
||||
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
18
Model/Changes_2024_07_16_TwoFactorCode.txt
Normal file
18
Model/Changes_2024_07_16_TwoFactorCode.txt
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user