files tree made better.
This commit is contained in:
parent
ffbf032480
commit
ccc91bbf19
1630 changed files with 18209 additions and 41860 deletions
7
src/Yavsc.Abstract/Interfaces/IBankInterface.cs
Normal file
7
src/Yavsc.Abstract/Interfaces/IBankInterface.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace Yavsc.Services
|
||||
{
|
||||
public interface IBankInterface
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
13
src/Yavsc.Abstract/Interfaces/IBatch.cs
Normal file
13
src/Yavsc.Abstract/Interfaces/IBatch.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
|
||||
namespace Yavsc.Abstract.Interfaces
|
||||
{
|
||||
public interface IBatch<TInput, TOutput>
|
||||
{
|
||||
string WorkingDir { get; set; }
|
||||
|
||||
Action<TOutput> ResultHandler { get; }
|
||||
void Launch(TInput Input);
|
||||
string LogPath { get; set; }
|
||||
}
|
||||
}
|
||||
47
src/Yavsc.Abstract/Interfaces/IBillingService.cs
Normal file
47
src/Yavsc.Abstract/Interfaces/IBillingService.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
namespace Yavsc.Services
|
||||
{
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.Generic;
|
||||
using Yavsc.Abstract.Workflow;
|
||||
|
||||
public interface IBillingService
|
||||
{
|
||||
// TODO ensure a default value at using this:
|
||||
/// <summary>
|
||||
/// maps a command type name to a bolling code, used to get bill assets
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Dictionary<string,string> BillingMap { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Renvoye la facture associée à une clé de facturation,
|
||||
/// à partir du couple suivant :
|
||||
///
|
||||
/// * un code de facturation
|
||||
/// (identifiant associé à un type de demande du client)
|
||||
/// * un entier long identifiant la demande du client
|
||||
/// (à une demande, on associe au maximum une seule facture)
|
||||
/// </summary>
|
||||
/// <param name="billingCode">Identifiant du type de facturation</param>
|
||||
/// <param name="queryId">Identifiant de la demande du client</param>
|
||||
/// <returns>La facture</returns>
|
||||
Task<IDecidableQuery> GetBillAsync(string billingCode, long queryId);
|
||||
|
||||
/// <summary>
|
||||
/// All performer setting in this activity
|
||||
/// </summary>
|
||||
/// <param name="activityCode"></param>
|
||||
/// <returns></returns>
|
||||
Task<IQueryable<ISpecializationSettings>> GetPerformersSettingsAsync(string activityCode);
|
||||
|
||||
/// <summary>
|
||||
/// Perfomer settings for the specified performer in the activity
|
||||
/// </summary>
|
||||
/// <param name="activityCode">activityCode</param>
|
||||
/// <param name="userId">performer uid</param>
|
||||
/// <returns></returns>
|
||||
Task<ISpecializationSettings> GetPerformerSettingsAsync(string activityCode, string userId);
|
||||
|
||||
}
|
||||
}
|
||||
19
src/Yavsc.Abstract/Interfaces/IEmailSender.cs
Normal file
19
src/Yavsc.Abstract/Interfaces/IEmailSender.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
using System.Threading.Tasks;
|
||||
using Yavsc.Abstract.Manage;
|
||||
|
||||
namespace Yavsc.Services
|
||||
{
|
||||
public interface IEmailSender
|
||||
{
|
||||
/// <summary>
|
||||
/// Sends en email.
|
||||
/// </summary>
|
||||
/// <param name="username">user name in database</param>
|
||||
/// <param name="email">user's email</param>
|
||||
/// <param name="subject">email subject</param>
|
||||
/// <param name="message">message</param>
|
||||
/// <returns>the message id</returns>
|
||||
Task<EmailSentViewModel> SendEmailAsync(string username, string email, string subject, string message);
|
||||
}
|
||||
}
|
||||
10
src/Yavsc.Abstract/Interfaces/Models/ICircleMember.cs
Normal file
10
src/Yavsc.Abstract/Interfaces/Models/ICircleMember.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
using Yavsc.Abstract.Identity;
|
||||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ICircleMember: IIdentified<long>
|
||||
{
|
||||
ICircle Circle { get; set; }
|
||||
IApplicationUser Member { get; set; }
|
||||
}
|
||||
}
|
||||
10
src/Yavsc.Abstract/Interfaces/Models/ICommentable.cs
Normal file
10
src/Yavsc.Abstract/Interfaces/Models/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; }
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
using Yavsc.Abstract.Identity;
|
||||
|
||||
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
src/Yavsc.Abstract/Interfaces/Models/ILocation.cs
Normal file
8
src/Yavsc.Abstract/Interfaces/Models/ILocation.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ILocation
|
||||
{
|
||||
string Address { get; set; }
|
||||
long Id { get; set; }
|
||||
}
|
||||
}
|
||||
7
src/Yavsc.Abstract/Interfaces/Models/INamedObject.cs
Normal file
7
src/Yavsc.Abstract/Interfaces/Models/INamedObject.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface INamedObject
|
||||
{
|
||||
string Name { get; set; }
|
||||
}
|
||||
}
|
||||
7
src/Yavsc.Abstract/Interfaces/Models/IOwned.cs
Normal file
7
src/Yavsc.Abstract/Interfaces/Models/IOwned.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IOwned
|
||||
{
|
||||
string OwnerId { get; }
|
||||
}
|
||||
}
|
||||
8
src/Yavsc.Abstract/Interfaces/Models/IPosition.cs
Normal file
8
src/Yavsc.Abstract/Interfaces/Models/IPosition.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IPosition
|
||||
{
|
||||
double Latitude { get; set; }
|
||||
double Longitude { get; set; }
|
||||
}
|
||||
}
|
||||
9
src/Yavsc.Abstract/Interfaces/Models/ITaggable.cs
Normal file
9
src/Yavsc.Abstract/Interfaces/Models/ITaggable.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ITaggable<K>
|
||||
{
|
||||
string [] GetTags();
|
||||
|
||||
K Id { get; }
|
||||
}
|
||||
}
|
||||
9
src/Yavsc.Abstract/Interfaces/Workflow/IBillingClause.cs
Normal file
9
src/Yavsc.Abstract/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; }
|
||||
}
|
||||
|
||||
}
|
||||
14
src/Yavsc.Abstract/Interfaces/Workflow/IBookQueryData.cs
Normal file
14
src/Yavsc.Abstract/Interfaces/Workflow/IBookQueryData.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using Yavsc.Abstract.Identity;
|
||||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IBookQueryData
|
||||
{
|
||||
ClientProviderInfo Client { get; set; }
|
||||
DateTime EventDate { get; set; }
|
||||
long Id { get; set; }
|
||||
ILocation Location { get; set; }
|
||||
decimal? Previsionnal { get; set; }
|
||||
}
|
||||
}
|
||||
8
src/Yavsc.Abstract/Interfaces/Workflow/IContact.cs
Normal file
8
src/Yavsc.Abstract/Interfaces/Workflow/IContact.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IContact
|
||||
{
|
||||
string OwnerId { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue