using System.Runtime.Serialization; namespace MAX.Models { public class Product { public int Id { get; set; } public Batch.Vouchertype VoucherType { get; set; } public string Description { get; set; } public decimal FaceValue { get; set; } public decimal DiscountPercentage { get; set; } [IgnoreDataMember] public Network Network { get; set; } } }