//------------------------------------------------------------------------------
//
// Этот код создан по шаблону.
//
// Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
// Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
//
//------------------------------------------------------------------------------
namespace AutoServiceSultik.Entites
{
using System;
using System.Collections.Generic;
public partial class Service
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Service()
{
this.ClientServices = new HashSet();
this.ServicePhotoes = new HashSet();
}
public int ID { get; set; }
public string Title { get; set; }
public decimal Cost { get; set; }
public int DurationInSeconds { get; set; }
public string Description { get; set; }
public Nullable Discount { get; set; }
public byte[] Image { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ClientServices { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ServicePhotoes { get; set; }
}
}