tendences, types de lieux et refabrique de code
This commit is contained in:
parent
ca36d067de
commit
104aec9321
31 changed files with 4560 additions and 52 deletions
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Yavsc.Models.Billing;
|
||||
using Yavsc.Models.Relationship;
|
||||
|
||||
namespace Yavsc.Models.Booking
|
||||
{
|
||||
|
|
@ -26,6 +27,10 @@ namespace Yavsc.Models.Booking
|
|||
set;
|
||||
}
|
||||
|
||||
public LocationType LocationType {
|
||||
set;
|
||||
get;
|
||||
}
|
||||
public string Reason { get; set; }
|
||||
|
||||
public BookQuery()
|
||||
|
|
|
|||
12
Yavsc/Models/Booking/MusicalPreference.cs
Normal file
12
Yavsc/Models/Booking/MusicalPreference.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Models.Booking {
|
||||
|
||||
public class MusicalPreference : MusicalTendency {
|
||||
|
||||
public long OwnerId { get; set; }
|
||||
public int Rate { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
21
Yavsc/Models/Booking/MusicalTendency.cs
Normal file
21
Yavsc/Models/Booking/MusicalTendency.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
|
||||
namespace Yavsc.Models.Booking {
|
||||
|
||||
|
||||
|
||||
public class MusicalTendency {
|
||||
|
||||
|
||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id {get; set; }
|
||||
|
||||
[MaxLength(255),Required]
|
||||
public string Name { get ; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue