mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 13:23:39 +00:00
setup domain and view
This commit is contained in:
13
src/Core/Models/Domain/Cipher.cs
Normal file
13
src/Core/Models/Domain/Cipher.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Bit.Core.Models.Domain
|
||||||
|
{
|
||||||
|
public class Cipher : Domain
|
||||||
|
{
|
||||||
|
public string Id { get; set; }
|
||||||
|
public string OrganizationId { get; set; }
|
||||||
|
public CipherString Name { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
11
src/Core/Models/Domain/Domain.cs
Normal file
11
src/Core/Models/Domain/Domain.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Bit.Core.Models.Domain
|
||||||
|
{
|
||||||
|
public abstract class Domain
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,8 +4,9 @@ using System.Text;
|
|||||||
|
|
||||||
namespace Bit.Core.Models.View
|
namespace Bit.Core.Models.View
|
||||||
{
|
{
|
||||||
public class CipherView
|
public class CipherView : View
|
||||||
{
|
{
|
||||||
|
public string Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Subtitle { get; set; }
|
public string Subtitle { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
11
src/Core/Models/View/View.cs
Normal file
11
src/Core/Models/View/View.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Bit.Core.Models.View
|
||||||
|
{
|
||||||
|
public abstract class View
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user