33 lines
990 B
C#
33 lines
990 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace rockfishCore.Models
|
|
{
|
|
public partial class Purchase
|
|
{
|
|
public long Id { get; set; }
|
|
public long CustomerId { get; set; }
|
|
public long SiteId { get; set; }
|
|
public string Name { get; set; }
|
|
public string VendorName { get; set; }
|
|
public string Email { get; set; }
|
|
public string ProductCode { get; set; }
|
|
public string SalesOrderNumber { get; set; }
|
|
public long PurchaseDate { get; set; }
|
|
public long? ExpireDate { get; set; }
|
|
public long? CancelDate { get; set; }
|
|
public string CouponCode { get; set; }
|
|
public string Notes { get; set; }
|
|
//schema v2
|
|
public bool RenewNoticeSent { get; set; }
|
|
|
|
//raven
|
|
public int Quantity { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual Customer Customer { get; set; }
|
|
public virtual Site Site { get; set; }
|
|
}
|
|
}
|