forked from sanchezvem/PyroFetes
Project4 Adding entities
This commit is contained in:
11
PyroFetes/Models/CustomerType.cs
Normal file
11
PyroFetes/Models/CustomerType.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace PyroFetes.Models;
|
||||
|
||||
public class CustomerType
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required] public string? Price { get; set; }
|
||||
//RELATIONS PTN
|
||||
public List<Customer>? Customers { get; set; }
|
||||
}
|
Reference in New Issue
Block a user