Web API for the bulk printing desktop application.

Warehouse.cs 419B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace MAX.Models
  5. {
  6. public class Warehouse
  7. {
  8. [DatabaseGenerated(DatabaseGeneratedOption.None)]
  9. public int Id { get; set; }
  10. [MaxLength(50)]
  11. public string Name { get; set; }
  12. public ICollection<Account> Accounts { get; set; }
  13. }
  14. }