yavsc/Yavsc/Models/Haircut/HairCutQuery.cs

31 lines
711 B
C#
Raw Normal View History

2017-02-23 03:10:30 +01:00
2017-02-27 19:28:32 +01:00
using System;
2017-02-13 01:32:03 +01:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Models.Billing;
2017-02-27 19:28:32 +01:00
using Yavsc.Models.Relationship;
2017-02-13 01:32:03 +01:00
namespace Yavsc.Models.Haircut
{
public class HairCutQuery : NominativeServiceCommand
{
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
2017-03-02 13:25:20 +01:00
[Required]
public long PrestationId { get; set; }
[ForeignKey("PrestationId")]
public virtual HairPrestation Prestation { get; set; }
[Required]
2017-02-27 19:28:32 +01:00
public Location Location { get; set; }
public DateTime EventDate
{
get;
set;
}
2017-02-13 01:32:03 +01:00
}
}