1234567891011121314151617181920212223 |
- using System;
- using System.ComponentModel.DataAnnotations;
-
- namespace Backend.Data
- {
- public class LigneCommande
- {
- [Key]
- public Guid Id { get; set; }
-
- [Required]
- public Guid ProduitId { get; set; }
-
- [Required]
- public Guid CommandeId { get; set; }
-
- [Required]
- public int Quantite { get; set; }
-
- [Required]
- public decimal Prix { get; set; }
- }
- }
|