Import inital de l'application mobile Xamarin
This commit is contained in:
parent
9f36b8b89c
commit
0d8d159285
157 changed files with 13250 additions and 0 deletions
12
BookAStar/BookAStar/Model/Auth/MobileAppDeclaration.cs
Normal file
12
BookAStar/BookAStar/Model/Auth/MobileAppDeclaration.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
namespace BookAStar.Model.Auth.Account
|
||||
{
|
||||
public class GoogleCloudMobileDeclaration
|
||||
{
|
||||
public string GCMRegistrationId { get; set; }
|
||||
public string DeviceId { get; set; }
|
||||
public string Model { get; set; }
|
||||
public string Platform { get; set; }
|
||||
public string Version { get; set; }
|
||||
}
|
||||
}
|
||||
17
BookAStar/BookAStar/Model/Auth/Tokens.cs
Normal file
17
BookAStar/BookAStar/Model/Auth/Tokens.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BookAStar.Model.Auth.Account
|
||||
{
|
||||
public class Tokens
|
||||
{
|
||||
public string AccessToken { get; set; }
|
||||
public string RefreshToken { get; set; }
|
||||
public int ExpiresIn { set; get; }
|
||||
public DateTime Received { get; set; }
|
||||
public string TokenType { get; set; }
|
||||
}
|
||||
}
|
||||
107
BookAStar/BookAStar/Model/Auth/User.cs
Normal file
107
BookAStar/BookAStar/Model/Auth/User.cs
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace BookAStar.Model.Auth.Account
|
||||
{
|
||||
public class User : INotifyPropertyChanged
|
||||
{
|
||||
private string id;
|
||||
public string Id {
|
||||
get {
|
||||
return id;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
id = value;
|
||||
OnPropertyChanged("Id");
|
||||
}
|
||||
}
|
||||
private string userName;
|
||||
public string UserName {
|
||||
|
||||
get
|
||||
{
|
||||
return userName;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
userName = value;
|
||||
OnPropertyChanged("UserName");
|
||||
}
|
||||
}
|
||||
|
||||
private IEnumerable<string> eMails;
|
||||
|
||||
public IEnumerable<string> EMails
|
||||
{
|
||||
get { return eMails; }
|
||||
|
||||
set
|
||||
{
|
||||
eMails = value;
|
||||
OnPropertyChanged("EMails");
|
||||
}
|
||||
}
|
||||
private IEnumerable<string> roles;
|
||||
|
||||
public IEnumerable<string> Roles
|
||||
{
|
||||
get
|
||||
{
|
||||
return roles;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
roles = value;
|
||||
OnPropertyChanged("Roles");
|
||||
}
|
||||
}
|
||||
private string avatar;
|
||||
public string Avatar
|
||||
{
|
||||
get
|
||||
{
|
||||
return avatar;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
avatar = value;
|
||||
OnPropertyChanged("Avatar");
|
||||
}
|
||||
}
|
||||
private Tokens yavscTokens;
|
||||
public Tokens YavscTokens
|
||||
{
|
||||
get
|
||||
{
|
||||
return yavscTokens;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
yavscTokens = value;
|
||||
OnPropertyChanged("YavscTokens");
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void OnPropertyChanged(string propertyName)
|
||||
{
|
||||
if (PropertyChanged == null)
|
||||
return;
|
||||
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
11
BookAStar/BookAStar/Model/Auth/passwrecovery.cs
Normal file
11
BookAStar/BookAStar/Model/Auth/passwrecovery.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
|
||||
namespace BookAStar.Model.Auth.Account
|
||||
{
|
||||
public partial class passwrecovery
|
||||
{
|
||||
public string pkid { get; set; }
|
||||
public DateTime creation { get; set; }
|
||||
public string one_time_pass { get; set; }
|
||||
}
|
||||
}
|
||||
26
BookAStar/BookAStar/Model/Blog/Blog.cs
Normal file
26
BookAStar/BookAStar/Model/Blog/Blog.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
|
||||
namespace BookAStar.Model.Blog
|
||||
{
|
||||
public partial class Blog
|
||||
{
|
||||
|
||||
public long Id { get; set; }
|
||||
|
||||
public string bcontent { get; set; }
|
||||
|
||||
public DateTime modified { get; set; }
|
||||
|
||||
public string photo { get; set; }
|
||||
|
||||
public DateTime posted { get; set; }
|
||||
|
||||
public int rate { get; set; }
|
||||
|
||||
public string title { get; set; }
|
||||
|
||||
public string AuthorId { get; set; }
|
||||
|
||||
public bool visible { get; set; }
|
||||
}
|
||||
}
|
||||
11
BookAStar/BookAStar/Model/Blog/BlogTag.cs
Normal file
11
BookAStar/BookAStar/Model/Blog/BlogTag.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
|
||||
namespace BookAStar.Model.Blog
|
||||
{
|
||||
public partial class BlogTag
|
||||
{
|
||||
public long postid { get; set; }
|
||||
public long TagId { get; set; }
|
||||
}
|
||||
}
|
||||
60
BookAStar/BookAStar/Model/Manager.cs
Normal file
60
BookAStar/BookAStar/Model/Manager.cs
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
using BookAStar.Model.Social;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace BookAStar
|
||||
{
|
||||
public static class Manager
|
||||
{
|
||||
static Manager ()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
// TODO WIP TEST rop this
|
||||
private static Location[] _places = new Location[] {
|
||||
new Location(48.8626458, 2.2065559, "2 bd Aristide Briand - Suresnes" ),
|
||||
new Location(48.8632757, 2.2023099, "Théatre Jean Villard - Suresnes" ),
|
||||
new Location(48.8647120, 2.2054588, "Place de la Paix - Suresnes" ),
|
||||
new Location(48.8640133, 2.2056573, "Restaurant" ),
|
||||
new Location(48.8634839, 2.2064137, "Square" ),
|
||||
new Location(48.8653649, 2.2014945, "Stade de foot" ),
|
||||
};
|
||||
// TODO WIP TEST rop this
|
||||
private static ObservableCollection<LocalizedEvent> _your_events = new ObservableCollection<LocalizedEvent> {
|
||||
new LocalizedEvent {
|
||||
|
||||
Title = "Yavsc Party",
|
||||
Description = "Lancement en fanfare de la version 1.0 de BookAStar, l'appli des fétards",
|
||||
ProviderId = "paul",
|
||||
ProviderName = "Yavsc Fondation",
|
||||
EventWebPage = "http://lua.pschneider.fr/",
|
||||
Location = _places[0]
|
||||
},
|
||||
new LocalizedEvent {
|
||||
Title = "Evenement de test",
|
||||
Description = "Blah bli lo qui est errare, ma no. Blou test allo 3!",
|
||||
ProviderId = "provid3",
|
||||
ProviderName = "Prov Entreprise 3",
|
||||
EventWebPage = "http://lua.pschneider.fr/events/test3",
|
||||
Location = _places[1]
|
||||
},
|
||||
new LocalizedEvent {
|
||||
Title = "DjFx feat XamCoder, en Concert gratuit",
|
||||
Description = "Hip Hop à Suresnes",
|
||||
ProviderId = "brahim",
|
||||
ProviderName = "Totem Production",
|
||||
EventWebPage = "http://lua.pschneider.fr/events/totem",
|
||||
Location = _places[2]
|
||||
}
|
||||
};
|
||||
// TODO WIP TEST rop this
|
||||
public static ObservableCollection<LocalizedEvent> Events {
|
||||
get {
|
||||
return _your_events;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
56
BookAStar/BookAStar/Model/Social/Calendar/OpenDay.cs
Normal file
56
BookAStar/BookAStar/Model/Social/Calendar/OpenDay.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
//
|
||||
// OpenDay.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System;
|
||||
|
||||
namespace BookAStar.Model.Workflow.Calendar
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Open day.
|
||||
/// </summary>
|
||||
public class OpenDay {
|
||||
/// <summary>
|
||||
/// The day.
|
||||
/// </summary>
|
||||
public WeekDay Day;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the s.
|
||||
/// </summary>
|
||||
/// <value>The s.</value>
|
||||
public TimeSpan S { get; set; }
|
||||
|
||||
// ASSERT Start <= End
|
||||
/// <summary>
|
||||
/// Gets or sets the start hour.
|
||||
/// </summary>
|
||||
/// <value>The start.</value>
|
||||
public TimeSpan Start { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the end hour
|
||||
/// (from the next day if lower than the Start).
|
||||
/// </summary>
|
||||
/// <value>The end.</value>
|
||||
public TimeSpan End { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
42
BookAStar/BookAStar/Model/Social/Calendar/Period.cs
Normal file
42
BookAStar/BookAStar/Model/Social/Calendar/Period.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
//
|
||||
// Period.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System;
|
||||
|
||||
namespace BookAStar.Model.Workflow.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Hollydays.
|
||||
/// </summary>
|
||||
public class Period {
|
||||
/// <summary>
|
||||
/// Gets or sets the start.
|
||||
/// </summary>
|
||||
/// <value>The start.</value>
|
||||
public DateTime Start { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the end.
|
||||
/// </summary>
|
||||
/// <value>The end.</value>
|
||||
public DateTime End { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
54
BookAStar/BookAStar/Model/Social/Calendar/Periodicity.cs
Normal file
54
BookAStar/BookAStar/Model/Social/Calendar/Periodicity.cs
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
//
|
||||
// Periodicity.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace BookAStar.Model.Workflow.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Periodicity.
|
||||
/// </summary>
|
||||
public enum Periodicity {
|
||||
/// <summary>
|
||||
/// The daily.
|
||||
/// </summary>
|
||||
Daily,
|
||||
/// <summary>
|
||||
/// The weekly.
|
||||
/// </summary>
|
||||
Weekly,
|
||||
/// <summary>
|
||||
/// The monthly.
|
||||
/// </summary>
|
||||
Monthly,
|
||||
/// <summary>
|
||||
/// The three m.
|
||||
/// </summary>
|
||||
ThreeM,
|
||||
/// <summary>
|
||||
/// The six m.
|
||||
/// </summary>
|
||||
SixM,
|
||||
/// <summary>
|
||||
/// The yearly.
|
||||
/// </summary>
|
||||
Yearly
|
||||
}
|
||||
|
||||
}
|
||||
34
BookAStar/BookAStar/Model/Social/Calendar/RendezVous.cs
Normal file
34
BookAStar/BookAStar/Model/Social/Calendar/RendezVous.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using BookAStar.Model.Social;
|
||||
using BookAStar.Model.Workflow.Marketing;
|
||||
using System;
|
||||
|
||||
namespace BookAStar.Model.Workflow.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// A date, between two persons
|
||||
/// </summary>
|
||||
|
||||
public class RendezVous: Service {
|
||||
// Haut les mains.
|
||||
|
||||
/// <summary>
|
||||
/// Event date
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public DateTime EventDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Location identifier
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public long LocationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A Location for this event
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Location Location { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
48
BookAStar/BookAStar/Model/Social/Calendar/Schedule.cs
Normal file
48
BookAStar/BookAStar/Model/Social/Calendar/Schedule.cs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
//
|
||||
// Schedule.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Schedule.
|
||||
/// </summary>
|
||||
public class Schedule {
|
||||
/// <summary>
|
||||
/// Gets or sets the period.
|
||||
/// </summary>
|
||||
/// <value>The period.</value>
|
||||
public Periodicity Period { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the schedule of an open week.
|
||||
/// One item by bay in the week,
|
||||
/// </summary>
|
||||
/// <value>The weekly workdays.</value>
|
||||
public OpenDay [] WeekDays { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the hollydays.
|
||||
/// </summary>
|
||||
/// <value>The hollydays.</value>
|
||||
public Period [] Validity { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
58
BookAStar/BookAStar/Model/Social/Calendar/WeekDay.cs
Normal file
58
BookAStar/BookAStar/Model/Social/Calendar/WeekDay.cs
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
//
|
||||
// WeekDay.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace BookAStar.Model.Workflow.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Week day.
|
||||
/// </summary>
|
||||
public enum WeekDay:int {
|
||||
/// <summary>
|
||||
/// The monday (0).
|
||||
/// </summary>
|
||||
Monday=0,
|
||||
/// <summary>
|
||||
/// The tuesday.
|
||||
/// </summary>
|
||||
Tuesday,
|
||||
/// <summary>
|
||||
/// The wednesday.
|
||||
/// </summary>
|
||||
Wednesday,
|
||||
/// <summary>
|
||||
/// The thursday.
|
||||
/// </summary>
|
||||
Thursday,
|
||||
/// <summary>
|
||||
/// The friday.
|
||||
/// </summary>
|
||||
Friday,
|
||||
/// <summary>
|
||||
/// The saturday.
|
||||
/// </summary>
|
||||
Saturday,
|
||||
/// <summary>
|
||||
/// The sunday.
|
||||
/// </summary>
|
||||
Sunday
|
||||
}
|
||||
|
||||
}
|
||||
14
BookAStar/BookAStar/Model/Social/Circle.cs
Normal file
14
BookAStar/BookAStar/Model/Social/Circle.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace BookAStar.Model.Social
|
||||
{
|
||||
public partial class Circle {
|
||||
public long Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public string OwnerId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
41
BookAStar/BookAStar/Model/Social/CircleEvent.cs
Normal file
41
BookAStar/BookAStar/Model/Social/CircleEvent.cs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
//
|
||||
// EventPub.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using BookAStar.Model.Workflow.Messaging;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BookAStar.Model.Social
|
||||
{
|
||||
/// <summary>
|
||||
/// Event pub.
|
||||
/// </summary>
|
||||
public class CircleEvent: YaEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the circles.
|
||||
/// </summary>
|
||||
/// <value>The circles.</value>
|
||||
public virtual List<Circle> Circles{ get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
8
BookAStar/BookAStar/Model/Social/CircleMember.cs
Normal file
8
BookAStar/BookAStar/Model/Social/CircleMember.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace BookAStar.Model.Social
|
||||
{
|
||||
|
||||
public partial class CircleMember
|
||||
{
|
||||
public long Id { get; set; }
|
||||
}
|
||||
}
|
||||
108
BookAStar/BookAStar/Model/Social/CompanyInfo.cs
Normal file
108
BookAStar/BookAStar/Model/Social/CompanyInfo.cs
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
|
||||
|
||||
|
||||
namespace BookAStar.Model.Social
|
||||
{
|
||||
|
||||
public class CompanyInfoMessage
|
||||
{
|
||||
public bool success { get; set; }
|
||||
public string errorType { get; set; }
|
||||
public string errorCode { get; set; }
|
||||
public string errorMessage { get; set; }
|
||||
public CompanyInfo result { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class CompanyInfo
|
||||
{
|
||||
public string registration_number { get; set; }
|
||||
public string vat_number { get; set; }
|
||||
public string name { get; set; }
|
||||
public string commercial_name { get; set; }
|
||||
public string business_name { get; set; }
|
||||
public string ape_code { get; set; }
|
||||
public string ape_label { get; set; }
|
||||
public string rcs_name { get; set; }
|
||||
public string greffe_name { get; set; }
|
||||
public string legal_person_type { get; set; }
|
||||
|
||||
public string legal_state { get; set; }
|
||||
|
||||
public string legal_type { get; set; }
|
||||
|
||||
public string legal_status { get; set; }
|
||||
|
||||
public string activity { get; set; }
|
||||
|
||||
public string street { get; set; }
|
||||
public string postal_code { get; set; }
|
||||
public string country_code { get; set; }
|
||||
public decimal lng { get; set; }
|
||||
public decimal lat { get; set; }
|
||||
public string phone_number { get; set; }
|
||||
public string capital { get; set; }
|
||||
|
||||
|
||||
public Employee[] contacts { get; set; }
|
||||
public string[] emails { get; set; }
|
||||
|
||||
public Stat[] stats { get; set; }
|
||||
|
||||
public MarkDetail[] marks_details { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Bodacc last_bodacc { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class MarkDetail
|
||||
{
|
||||
public MarkClass[] classes { get; set; }
|
||||
public Mark[] marks { get; set; }
|
||||
}
|
||||
public class MarkClass
|
||||
{
|
||||
public string number { get; set; }
|
||||
public string description { get; set; }
|
||||
}
|
||||
public class Mark
|
||||
{
|
||||
public string name { get; set; }
|
||||
public long application_date { get; set; }
|
||||
}
|
||||
|
||||
public class Stat
|
||||
{
|
||||
public string type { get; set; }
|
||||
public int year { get; set; }
|
||||
public string value { get; set; }
|
||||
}
|
||||
|
||||
public class Bodacc
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string bodacc_type { get; set; }
|
||||
public long parution_date { get; set; }
|
||||
public string number { get; set; }
|
||||
public string rcs_name { get; set; }
|
||||
public string legal_name { get; set; }
|
||||
public string legal_status { get; set; }
|
||||
public string capital { get; set; }
|
||||
public string administration { get; set; }
|
||||
public string address { get; set; }
|
||||
public string description { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class Employee
|
||||
{
|
||||
public string name { get; set; }
|
||||
public string role { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
11
BookAStar/BookAStar/Model/Social/Contact.cs
Normal file
11
BookAStar/BookAStar/Model/Social/Contact.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
namespace BookAStar.Model.Social
|
||||
{
|
||||
public class Contact
|
||||
{
|
||||
public string UserId { get; set; }
|
||||
|
||||
public string OwnerId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
47
BookAStar/BookAStar/Model/Social/Location.cs
Normal file
47
BookAStar/BookAStar/Model/Social/Location.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
|
||||
|
||||
using BookAStar.Model.Workflow.Messaging;
|
||||
|
||||
namespace BookAStar.Model.Social
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Position.
|
||||
/// </summary>
|
||||
public class Position
|
||||
{
|
||||
/// <summary>
|
||||
/// The longitude.
|
||||
/// </summary>
|
||||
|
||||
public double Longitude { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// The latitude.
|
||||
/// </summary>
|
||||
public double Latitude { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class Location : Position {
|
||||
|
||||
public long Id { get; set; }
|
||||
public string Address { get; set; }
|
||||
public Location(double latitude, double longitude, string address)
|
||||
{
|
||||
this.Latitude = latitude;
|
||||
this.Longitude = longitude;
|
||||
this.Address = address;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class LocalizedEvent : YaEvent
|
||||
{
|
||||
|
||||
|
||||
public Location Location { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
32
BookAStar/BookAStar/Model/Social/Marketing/Activity.cs
Normal file
32
BookAStar/BookAStar/Model/Social/Marketing/Activity.cs
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
public class Activity
|
||||
{
|
||||
|
||||
public string Code {get; set;}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Name {get; set;}
|
||||
|
||||
public string Description {get; set;}
|
||||
/// <summary>
|
||||
/// Name to associate to a performer in this activity domain
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string ActorDenomination {get; set;}
|
||||
|
||||
public string Photo {get; set;}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Moderation settings
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
string ModeratorGroupName { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
28
BookAStar/BookAStar/Model/Social/Marketing/BaseProduct.cs
Normal file
28
BookAStar/BookAStar/Model/Social/Marketing/BaseProduct.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
public partial class BaseProduct
|
||||
{
|
||||
/// <summary>
|
||||
/// An unique product identifier.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public long Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// A contractual description for this product.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Controls wether this product or service
|
||||
/// may be offered to clients, or simply
|
||||
/// are internal workflow entry point.
|
||||
/// </summary>
|
||||
/// <returns>true when this product belongs to the public catalog.</returns>
|
||||
public bool Public { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
11
BookAStar/BookAStar/Model/Social/Marketing/Catalog.cs
Normal file
11
BookAStar/BookAStar/Model/Social/Marketing/Catalog.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
|
||||
|
||||
public class Catalog {
|
||||
public List<Product> Products { get; set; }
|
||||
public List<Service> Services { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
using BookAStar.Model.Social;
|
||||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
|
||||
public class PerformerProfile {
|
||||
|
||||
public string PerfomerId { get; set; }
|
||||
|
||||
public string ActivityCode { get; set; }
|
||||
|
||||
public Service Offer { get; set; }
|
||||
|
||||
public string SIREN { get; set; }
|
||||
|
||||
public long OrganisationAddressId { get; set; }
|
||||
|
||||
public virtual Location OrganisationAddress { get; set; }
|
||||
|
||||
public virtual Activity Activity { get; set; }
|
||||
|
||||
public bool AcceptNotifications { get; set; }
|
||||
|
||||
public bool AcceptPublicContact { get; set; }
|
||||
|
||||
public bool AcceptGeoLocalisation { get; set; }
|
||||
|
||||
public string WebSite { get; set; }
|
||||
|
||||
public bool Active { get; set; }
|
||||
|
||||
public int? MaxDailyCost { get; set; }
|
||||
|
||||
public int? MinDailyCost { get; set; }
|
||||
|
||||
public int Rate { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
30
BookAStar/BookAStar/Model/Social/Marketing/Product.cs
Normal file
30
BookAStar/BookAStar/Model/Social/Marketing/Product.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
public partial class Product : BaseProduct
|
||||
{
|
||||
/// <summary>
|
||||
/// Weight in gram
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public decimal Weight { get; set; }
|
||||
/// <summary>
|
||||
/// Height in meter
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public decimal Height { get; set; }
|
||||
/// <summary>
|
||||
/// Width in meter
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public decimal Width { get; set; }
|
||||
public decimal Depth { get; set; }
|
||||
/// <summary>
|
||||
/// In euro
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public decimal? Price { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
//
|
||||
// ProviderPublicInfo.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
using Social;
|
||||
using System;
|
||||
using Yavsc; /// <summary>
|
||||
/// Provider public info.
|
||||
/// </summary>
|
||||
public class ProviderPublicInfo {
|
||||
/// <summary>
|
||||
/// Gets or sets the display name.
|
||||
/// </summary>
|
||||
/// <value>The display name.</value>
|
||||
|
||||
public string DisplayName { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the location.
|
||||
/// </summary>
|
||||
/// <value>The type of the location.</value>
|
||||
|
||||
public string LocationType { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the location.
|
||||
/// </summary>
|
||||
/// <value>The location.</value>
|
||||
|
||||
public Location Location { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the logo image locator.
|
||||
/// </summary>
|
||||
/// <value>The logo image locator.</value>
|
||||
public string LogoImgLocator { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the description.
|
||||
/// </summary>
|
||||
/// <value>The description.</value>
|
||||
|
||||
public string Description { get; set;}
|
||||
/// <summary>
|
||||
/// Gets or sets the web page.
|
||||
/// </summary>
|
||||
/// <value>The web page.</value>
|
||||
public string WebPage { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
26
BookAStar/BookAStar/Model/Social/Marketing/Service.cs
Normal file
26
BookAStar/BookAStar/Model/Social/Marketing/Service.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
|
||||
public enum BillingMode {
|
||||
Unitary,
|
||||
SetPrice,
|
||||
ByExecutionTime
|
||||
}
|
||||
public partial class Service : BaseProduct
|
||||
{
|
||||
public string ContextId { get; set; }
|
||||
|
||||
public virtual Activity Context { get; set; }
|
||||
|
||||
public BillingMode? Billing { get; set; }
|
||||
// TODO public ServiceSpecification Specification { get; set; }
|
||||
/// <summary>
|
||||
/// In euro, either by hour or by release
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public decimal? Pricing { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
21
BookAStar/BookAStar/Model/Social/Marketing/Skill.cs
Normal file
21
BookAStar/BookAStar/Model/Social/Marketing/Skill.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
public class Skill {
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// indice de recherche de cette capacité
|
||||
/// rendu par le système.
|
||||
/// Valide entre 0 et 100,
|
||||
/// Il démarre à 0.
|
||||
/// </summary>
|
||||
public int Rate { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
16
BookAStar/BookAStar/Model/Social/Marketing/UserSkills.cs
Normal file
16
BookAStar/BookAStar/Model/Social/Marketing/UserSkills.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Marketing
|
||||
{
|
||||
public partial class UserSkills
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public string UserId { get; set; }
|
||||
|
||||
public long SkillId { get; set; }
|
||||
|
||||
public string Comment { get; set; }
|
||||
public int Rate { get; set; }
|
||||
}
|
||||
}
|
||||
43
BookAStar/BookAStar/Model/Social/Messaging/BaseEvent.cs
Normal file
43
BookAStar/BookAStar/Model/Social/Messaging/BaseEvent.cs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
//
|
||||
// BaseEvent.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paul@pschneider.fr>
|
||||
//
|
||||
// Copyright (c) 2015 GNU GPL
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Messaging
|
||||
{
|
||||
/// <summary>
|
||||
/// Base event.
|
||||
/// </summary>
|
||||
public class BaseEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// The title.
|
||||
/// </summary>
|
||||
public string Title { get; set; }
|
||||
/// <summary>
|
||||
/// The description.
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
30
BookAStar/BookAStar/Model/Social/Messaging/BookQuery.cs
Normal file
30
BookAStar/BookAStar/Model/Social/Messaging/BookQuery.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using BookAStar.Model.Social;
|
||||
using System;
|
||||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Messaging
|
||||
{
|
||||
/// <summary>
|
||||
/// Query, for a date, with a given perfomer, at this given place.
|
||||
/// </summary>
|
||||
|
||||
public class BookQuery {
|
||||
/// <summary>
|
||||
/// The command identifier
|
||||
/// </summary>
|
||||
public long Id {get; set; }
|
||||
public DateTime EventDate{get; set; }
|
||||
public Location Location { get; set; }
|
||||
|
||||
public BookQuery()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public BookQuery(Location eventLocation, DateTime eventDate)
|
||||
{
|
||||
Location = eventLocation;
|
||||
EventDate = eventDate;
|
||||
}
|
||||
}
|
||||
}
|
||||
46
BookAStar/BookAStar/Model/Social/Messaging/BookQueryEvent.cs
Normal file
46
BookAStar/BookAStar/Model/Social/Messaging/BookQueryEvent.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using BookAStar.Model.Social;
|
||||
using System;
|
||||
|
||||
namespace BookAStar.Model.Workflow.Messaging
|
||||
{
|
||||
|
||||
//
|
||||
// BookQueryEvent.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paul@pschneider.fr>
|
||||
//
|
||||
// Copyright (c) 2015 GNU GPL
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
public class BookQueryEvent: YaEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// The location.
|
||||
/// </summary>
|
||||
public Location Location { get; set; }
|
||||
/// <summary>
|
||||
/// The start date.
|
||||
/// </summary>
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the end date.
|
||||
/// </summary>
|
||||
/// <value>The end date.</value>
|
||||
public DateTime EndDate { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
41
BookAStar/BookAStar/Model/Social/Messaging/Notification.cs
Normal file
41
BookAStar/BookAStar/Model/Social/Messaging/Notification.cs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
|
||||
namespace BookAStar.Model.Workflow.Messaging
|
||||
{
|
||||
/// <summary>
|
||||
/// A Notification, that mocks the one sent to Google,
|
||||
/// since it fits my needs
|
||||
/// </summary>
|
||||
public class Notification
|
||||
{
|
||||
public long Id { get; set; }
|
||||
/// <summary>
|
||||
/// The title.
|
||||
/// </summary>
|
||||
public string title { get; set; }
|
||||
/// <summary>
|
||||
/// The body.
|
||||
/// </summary>
|
||||
public string body { get; set; }
|
||||
/// <summary>
|
||||
/// The icon.
|
||||
/// </summary>
|
||||
public string icon { get; set; }
|
||||
/// <summary>
|
||||
/// The sound.
|
||||
/// </summary>
|
||||
public string sound { get; set; }
|
||||
/// <summary>
|
||||
/// The tag.
|
||||
/// </summary>
|
||||
public string tag { get; set; }
|
||||
/// <summary>
|
||||
/// The color.
|
||||
/// </summary>
|
||||
public string color { get; set; }
|
||||
/// <summary>
|
||||
/// The click action.
|
||||
/// </summary>
|
||||
public string click_action { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
//
|
||||
// PositionAndKeyphrase.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
using BookAStar.Model.Social;
|
||||
|
||||
namespace BookAStar.Model.Workflow.Messaging
|
||||
{
|
||||
/// <summary>
|
||||
/// Position and keyphrase.
|
||||
/// </summary>
|
||||
public class PositionAndKeyphrase {
|
||||
/// <summary>
|
||||
/// The phrase.
|
||||
/// </summary>
|
||||
public string phrase;
|
||||
/// <summary>
|
||||
/// The position.
|
||||
/// </summary>
|
||||
public Position pos;
|
||||
}
|
||||
|
||||
}
|
||||
15
BookAStar/BookAStar/Model/Social/Messaging/SearchQuery.cs
Normal file
15
BookAStar/BookAStar/Model/Social/Messaging/SearchQuery.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
|
||||
namespace BookAStar
|
||||
{
|
||||
public class SearchQuery
|
||||
{
|
||||
public SearchQuery ()
|
||||
{
|
||||
}
|
||||
|
||||
public string Position { get; set; }
|
||||
public string QueryString { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
50
BookAStar/BookAStar/Model/Social/Messaging/YaEvent.cs
Normal file
50
BookAStar/BookAStar/Model/Social/Messaging/YaEvent.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
//
|
||||
// NFEvent.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program 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 Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace BookAStar.Model.Workflow.Messaging
|
||||
{
|
||||
/// <summary>
|
||||
/// NF event.
|
||||
/// </summary>
|
||||
public class YaEvent : BaseEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// The name of the NF provider.
|
||||
/// </summary>
|
||||
public string ProviderName { get; set; }
|
||||
/// <summary>
|
||||
/// The NF provider identifier.
|
||||
/// </summary>
|
||||
public string ProviderId { get; set; }
|
||||
/// <summary>
|
||||
/// The promotion code.
|
||||
/// </summary>
|
||||
public string Comment { get; set; }
|
||||
/// <summary>
|
||||
/// The event web page.
|
||||
/// </summary>
|
||||
public string EventWebPage { get; set; }
|
||||
/// <summary>
|
||||
/// The image locator.
|
||||
/// </summary>
|
||||
public string Photo { get; set; }
|
||||
}
|
||||
}
|
||||
9
BookAStar/BookAStar/Model/Tag.cs
Normal file
9
BookAStar/BookAStar/Model/Tag.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
public partial class Tag
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue