refactoring
This commit is contained in:
parent
0085795902
commit
fafa1a5c5f
21 changed files with 5 additions and 5 deletions
9
YavscLib/Workflow/IAccountBalance.cs
Normal file
9
YavscLib/Workflow/IAccountBalance.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace YavscLib
|
||||
{
|
||||
public interface IAccountBalance
|
||||
{
|
||||
long ContactCredits { get; set; }
|
||||
decimal Credits { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
35
YavscLib/Workflow/IActivity.cs
Normal file
35
YavscLib/Workflow/IActivity.cs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
using System;
|
||||
|
||||
namespace YavscLib
|
||||
{
|
||||
public interface IActivity
|
||||
{
|
||||
string Code { get; set; }
|
||||
string Name { get; set; }
|
||||
string ParentCode { get; set; }
|
||||
string Photo { get; set; }
|
||||
string Description { get; set; }
|
||||
string ModeratorGroupName { get; set; }
|
||||
int Rate { get; set; }
|
||||
string SettingsClassName { get; set; }
|
||||
DateTime DateCreated
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
string UserCreated
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
DateTime DateModified
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
string UserModified
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
}
|
||||
9
YavscLib/Workflow/IBlackListed.cs
Normal file
9
YavscLib/Workflow/IBlackListed.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Models
|
||||
{
|
||||
public interface IBlackListed
|
||||
{
|
||||
long Id { get; set; }
|
||||
string UserId { get; set; }
|
||||
string OwnerId { get; set; }
|
||||
}
|
||||
}
|
||||
10
YavscLib/Workflow/ICoWorking.cs
Normal file
10
YavscLib/Workflow/ICoWorking.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace YavscLib
|
||||
{
|
||||
public interface ICoWorking
|
||||
{
|
||||
long Id {get; set; }
|
||||
string PerformerId { get; set; }
|
||||
string WorkingForId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
11
YavscLib/Workflow/ICommandForm.cs
Normal file
11
YavscLib/Workflow/ICommandForm.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
namespace YavscLib
|
||||
{
|
||||
public interface ICommandForm
|
||||
{
|
||||
long Id { get; set; }
|
||||
string ActionName { get; set; }
|
||||
string Title { get; set; }
|
||||
string ActivityCode { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
9
YavscLib/Workflow/IContact.cs
Normal file
9
YavscLib/Workflow/IContact.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace YavscLib
|
||||
{
|
||||
public interface IContact
|
||||
{
|
||||
IApplicationUser Owner { get; set; }
|
||||
string OwnerId { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
38
YavscLib/Workflow/IGoogleCloudMobileDeclaration.cs
Normal file
38
YavscLib/Workflow/IGoogleCloudMobileDeclaration.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
// Copyright (C) 2016 Paul Schneider
|
||||
//
|
||||
// This file is part of yavsc.
|
||||
//
|
||||
// yavsc is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 2 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// yavsc is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with yavsc. If not, see <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
using System;
|
||||
|
||||
namespace YavscLib
|
||||
{
|
||||
public interface IGCMDeclaration
|
||||
{
|
||||
string DeviceId { get; set; }
|
||||
string GCMRegistrationId { get; set; }
|
||||
string Model { get; set; }
|
||||
string Platform { get; set; }
|
||||
string Version { get; set; }
|
||||
DateTime? LatestActivityUpdate { get; set; }
|
||||
}
|
||||
|
||||
public interface IGoogleCloudMobileDeclaration: IGCMDeclaration
|
||||
{
|
||||
IApplicationUser DeviceOwner { get; set; }
|
||||
string DeviceOwnerId { get; set; }
|
||||
}
|
||||
}
|
||||
8
YavscLib/Workflow/ILocation.cs
Normal file
8
YavscLib/Workflow/ILocation.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace YavscLib
|
||||
{
|
||||
public interface ILocation
|
||||
{
|
||||
string Address { get; set; }
|
||||
long Id { get; set; }
|
||||
}
|
||||
}
|
||||
8
YavscLib/Workflow/IPosition.cs
Normal file
8
YavscLib/Workflow/IPosition.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public interface IPosition
|
||||
{
|
||||
double Latitude { get; set; }
|
||||
double Longitude { get; set; }
|
||||
}
|
||||
}
|
||||
7
YavscLib/Workflow/ISpecializationSettings.cs
Normal file
7
YavscLib/Workflow/ISpecializationSettings.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace YavscLib
|
||||
{
|
||||
public interface ISpecializationSettings
|
||||
{
|
||||
string UserId { get ; set ; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue