-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathShop.cs
44 lines (31 loc) · 1.08 KB
/
Shop.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ShopWebData
{
public class Shop
{
[Key]
public int Id { get; set; }
[MaxLength(50)]
public string Name { get; set; }
public ICollection<Adress> Adresses { get; set; }
public List<ShopsAdresses> ShopsAdresses { get; set; }
public bool ProcessedManually { get; set; }
public string ImageUri { get; set; }
public string Adress { get; set; }
public string PhoneNumber { get; set; }
public string WorkTime { get; set; }
public string MapsUri { get; set; }
public string MapsDirectionsUri { get; set; }
//Delivery Time
public DateTime StartDeliveryTime { get; set; }
public DateTime EndDeliveryTime { get; set; }
//Pickup Time
public DateTime StartPickupTime { get; set; }
public DateTime EndPickupTime { get; set; }
//Shop work type
public bool Pickup { get; set; }
public bool Delivery { get; set; }
}
}