setup domain and view

This commit is contained in:
Kyle Spearrin 2019-04-11 23:57:41 -04:00
parent 87543f5beb
commit a1ba2bf60b
4 changed files with 37 additions and 1 deletions

View 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; }
}
}

View File

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Bit.Core.Models.Domain
{
public abstract class Domain
{
// TODO
}
}

View File

@ -4,8 +4,9 @@ using System.Text;
namespace Bit.Core.Models.View
{
public class CipherView
public class CipherView : View
{
public string Id { get; set; }
public string Name { get; set; }
public string Subtitle { get; set; }
}

View File

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Bit.Core.Models.View
{
public abstract class View
{
// TODO
}
}