Discount.cs
1.29 KB
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AIAHTML5.ADMIN.API
{
using System;
using System.Collections.Generic;
public partial class Discount
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Discount()
{
this.DiscountToLicenses = new HashSet<DiscountToLicense>();
}
public int Id { get; set; }
public string DiscountCode { get; set; }
public decimal Percentage { get; set; }
public System.DateTime StartDate { get; set; }
public System.DateTime EndDate { get; set; }
public bool IsActive { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<DiscountToLicense> DiscountToLicenses { get; set; }
}
}