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:
587 bytes
|
Rev | Line | |
---|
[2aea0fd] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.ComponentModel.DataAnnotations;
|
---|
| 4 | using System.ComponentModel.DataAnnotations.Schema;
|
---|
| 5 | using System.Linq;
|
---|
| 6 | using System.Web;
|
---|
| 7 |
|
---|
| 8 | namespace PostgreSqlDotnetCore.Models
|
---|
| 9 | {
|
---|
| 10 | [Table("jobs", Schema = "project")]
|
---|
| 11 | public class JobsClass
|
---|
| 12 | {
|
---|
| 13 | [Key]
|
---|
| 14 | public int id { get; set; }
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 | public string description { get; set; }
|
---|
| 18 | [Required(ErrorMessage = "The customer lastname is required")]
|
---|
| 19 | public string predictedsalery { get; set; }
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | public int vetcentersid { get; set; }
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | }
|
---|
| 26 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.