v0.0.3 twa sys

This commit is contained in:
2025-11-19 07:57:43 +07:00
parent a586da6edc
commit ccf08a3077
24 changed files with 75 additions and 35 deletions

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class Files
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class Folder
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class Folders_has_StorageArea
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class LocalServer
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class MicrosoftAccount
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class RefreshToken
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class RefreshToken_Log
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class ServerAuthorization
{
@ -12,11 +12,11 @@ namespace TWASys_App.DBModels
[ForeignKey("IdStorageServer")]
public long IdStorageServer { get; set; }
public DateTime CreateDate { get; set; }
public int Count { get; set; }
public int Count { get; set; }
public int Status { get; set; }
[NotMapped()]
public ICollection<ServerAuthorization_has_Token> Tokens { get; set; } = new List<ServerAuthorization_has_Token>();
public ICollection<Token> Tokens { get; set; } = new List<Token>();
[NotMapped()]
public ICollection<RefreshToken> RefreshTokens { get; set; } = new List<RefreshToken>();

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class ServerAuthorization_has_Token
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class StorageArea
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class StorageArea_has_StorageServer
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class StorageServer
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class StorageServer_has_LocalServer
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class StorageServer_has_MicrosoftAccount
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class StorageServers_ValidationDomain
{

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc.Filters;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class SyncFile_Log
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class Token
{

View File

@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class TypeStorageServer
{

View File

@ -1,7 +1,7 @@
 using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TWASys_App.DBModels
namespace TWASys_App.DBModels.SotrageModel
{
public class ValidationDomain
{