joaopaulofcc

Untitled

Nov 17th, 2021 (edited)
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.53 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations;
  3.  
  4.  
  5. namespace conexaoPostgre.Models
  6. {
  7.     public partial class Cargo
  8.     {
  9.         [Key]
  10.         public int Id { get; set; }
  11.         [Required]
  12.         public string Nome { get; set; }
  13.         public string Tipo { get; set; }
  14.         public float SalarioMinimo { get; set; }
  15.         public float SalarioMaximo { get; set; }
  16.         public bool Excluido { get; set; }
  17.  
  18.         public IEnumerable<Colaborador> Colaboradores { get; set; }
  19.     }
  20. }
Add Comment
Please, Sign In to add comment