allow RdvQueryProviderInfo to be deserialised
This commit is contained in:
@ -1,21 +1,22 @@
|
||||
using System;
|
||||
using Yavsc.Abstract.Identity;
|
||||
using Yavsc.Models.Relationship;
|
||||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
|
||||
public class RdvQueryProviderInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// User querying
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public ClientProviderInfo Client { get; set; }
|
||||
public ILocation Location { get; set; }
|
||||
|
||||
public Location Location { get; set; }
|
||||
public long Id { get; set; }
|
||||
|
||||
public DateTime? EventDate { get; set; }
|
||||
public decimal? Previsional { get; set; }
|
||||
|
||||
public string Reason { get; set; }
|
||||
|
||||
public string ActivityCode { get; set; }
|
||||
public string BillingCode { get; set; }
|
||||
}
|
||||
|
16
src/Yavsc.Abstract/Relationship/Location.cs
Normal file
16
src/Yavsc.Abstract/Relationship/Location.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Yavsc.Attributes.Validation;
|
||||
|
||||
namespace Yavsc.Models.Relationship
|
||||
{
|
||||
|
||||
public class Location : Position, ILocation {
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
[YaRequired(),
|
||||
Display(Name="Address"),
|
||||
MaxLength(512)]
|
||||
public string Address { get; set; }
|
||||
}
|
||||
}
|
@ -1,10 +1,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Yavsc.Attributes.Validation;
|
||||
|
||||
namespace Yavsc.Models.Relationship
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Position.
|
||||
/// </summary>
|
||||
@ -27,13 +25,4 @@ namespace Yavsc.Models.Relationship
|
||||
public double Latitude { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class Location : Position, ILocation {
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
[YaRequired(),
|
||||
Display(Name="Address"),
|
||||
MaxLength(512)]
|
||||
public string Address { get; set; }
|
||||
}
|
||||
}
|
@ -1 +1 @@
|
||||
1.0.6-rc08
|
||||
1.0.6-rc09
|
||||
|
Reference in New Issue
Block a user