/
Material.cs
40 lines (36 loc) · 1.61 KB
/
Material.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
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Contas_a_Pagar___Desktop.Model
{
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
[DataContract(IsReference = true)]
public partial class Material
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Material()
{
this.FornecimentoMaterial = new HashSet<FornecimentoMaterial>();
this.SolicitacaoMaterial = new HashSet<SolicitacaoMaterial>();
}
[DataMember]
public int ID { get; set; }
[DataMember]
public string Descricao { get; set; }
[DataMember]
public decimal PrecoUnitario { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
[DataMember]
public virtual ICollection<FornecimentoMaterial> FornecimentoMaterial { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
[DataMember]
public virtual ICollection<SolicitacaoMaterial> SolicitacaoMaterial { get; set; }
}
}