Web API for the bulk printing desktop application.

Warehouse.cs 492B

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