refact.
This commit is contained in:
15
Yavsc.Server/Interfaces/IBookQueryData.cs
Normal file
15
Yavsc.Server/Interfaces/IBookQueryData.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
using Models.Relationship;
|
||||
using Models.Messaging;
|
||||
public interface IBookQueryData
|
||||
{
|
||||
ClientProviderInfo Client { get; set; }
|
||||
DateTime EventDate { get; set; }
|
||||
long Id { get; set; }
|
||||
Location Location { get; set; }
|
||||
decimal? Previsionnal { get; set; }
|
||||
}
|
||||
}
|
8
Yavsc.Server/Interfaces/ICircleMember.cs
Normal file
8
Yavsc.Server/Interfaces/ICircleMember.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ICircleMember: IIdentified<long>
|
||||
{
|
||||
ICircle Circle { get; set; }
|
||||
IApplicationUser Member { get; set; }
|
||||
}
|
||||
}
|
10
Yavsc.Server/Interfaces/ICommentable.cs
Normal file
10
Yavsc.Server/Interfaces/ICommentable.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IComment<T> : IIdentified<T>
|
||||
{
|
||||
T GetReceiverId();
|
||||
void SetReceiverId(T rid);
|
||||
string Content { get; set; }
|
||||
|
||||
}
|
||||
}
|
19
Yavsc.Server/Interfaces/IGoogleCloudMobileDeclaration.cs
Normal file
19
Yavsc.Server/Interfaces/IGoogleCloudMobileDeclaration.cs
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IGCMDeclaration
|
||||
{
|
||||
string DeviceId { get; set; }
|
||||
string GCMRegistrationId { get; set; }
|
||||
string Model { get; set; }
|
||||
string Platform { get; set; }
|
||||
string Version { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public interface IGoogleCloudMobileDeclaration: IGCMDeclaration
|
||||
{
|
||||
IApplicationUser DeviceOwner { get; set; }
|
||||
string DeviceOwnerId { get; set; }
|
||||
}
|
||||
}
|
8
Yavsc.Server/Interfaces/ILocation.cs
Normal file
8
Yavsc.Server/Interfaces/ILocation.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ILocation
|
||||
{
|
||||
string Address { get; set; }
|
||||
long Id { get; set; }
|
||||
}
|
||||
}
|
7
Yavsc.Server/Interfaces/IOwned.cs
Normal file
7
Yavsc.Server/Interfaces/IOwned.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IOwned
|
||||
{
|
||||
string OwnerId { get; }
|
||||
}
|
||||
}
|
8
Yavsc.Server/Interfaces/IPosition.cs
Normal file
8
Yavsc.Server/Interfaces/IPosition.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IPosition
|
||||
{
|
||||
double Latitude { get; set; }
|
||||
double Longitude { get; set; }
|
||||
}
|
||||
}
|
14
Yavsc.Server/Interfaces/ITaggable.cs
Normal file
14
Yavsc.Server/Interfaces/ITaggable.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using Yavsc.Models.Relationship;
|
||||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ITaggable<K>
|
||||
{
|
||||
void Tag(Tag tag);
|
||||
void Detag(Tag tag);
|
||||
|
||||
string [] GetTags();
|
||||
|
||||
K Id { get; }
|
||||
}
|
||||
}
|
9
Yavsc.Server/Interfaces/Workflow/IBillingClause.cs
Normal file
9
Yavsc.Server/Interfaces/Workflow/IBillingClause.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using Yavsc.Billing;
|
||||
|
||||
namespace Yavsc.Models.Billing {
|
||||
public interface IBillingClause {
|
||||
string Description {get; set;}
|
||||
IBillingImpacter Impacter { get; }
|
||||
}
|
||||
|
||||
}
|
8
Yavsc.Server/Interfaces/Workflow/IContact.cs
Normal file
8
Yavsc.Server/Interfaces/Workflow/IContact.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IContact
|
||||
{
|
||||
string OwnerId { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user