Last change
on this file since 0c48bbb was 171f106, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Add BaseEntity class and it's inheritance
|
-
Property mode
set to
100644
|
File size:
646 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.ComponentModel.DataAnnotations;
|
---|
4 | using System.Text;
|
---|
5 | using FarmatikoData.Base;
|
---|
6 | using Microsoft.EntityFrameworkCore;
|
---|
7 |
|
---|
8 | namespace FarmatikoData.Models
|
---|
9 | {
|
---|
10 | public class HealthFacilities : BaseEntity
|
---|
11 | {
|
---|
12 | public HealthFacilities() { }
|
---|
13 | [Required]
|
---|
14 | public string Name { get; set; }
|
---|
15 | [Required]
|
---|
16 | public string Municipality { get; set; }
|
---|
17 | [Required]
|
---|
18 | public string Address { get; set; }
|
---|
19 | [Required]
|
---|
20 | public string Type { get; set; }
|
---|
21 | public string Email { get; set; }
|
---|
22 | public string Phone { get; set; }
|
---|
23 | }
|
---|
24 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.