source: PostgreSqlDotnetCore/Models/MedecinesClass.cs@ 99d0ecc

main
Last change on this file since 99d0ecc was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 4 months ago

init commit Elena

  • Property mode set to 100644
File size: 620 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel.DataAnnotations;
4using System.ComponentModel.DataAnnotations.Schema;
5using System.Linq;
6using System.Web;
7
8namespace PostgreSqlDotnetCore.Models
9{
10 [Table("medecines", Schema = "project")]
11 public class MedecinesClass
12 {
13 [Key]
14 public int id { get; set; }
15
16 [Required(ErrorMessage = "The customer name is required")]
17 public string name { get; set; }
18 public string description { get; set; }
19 public int diagnosticsid { get; set; }
20
21 public int manufacturersid { get; set; }
22 }
23}
Note: See TracBrowser for help on using the repository browser.