Web API for the bulk printing desktop application.

VendorEvent.cs 686B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. namespace MAX.Models
  3. {
  4. public class VendorEvent
  5. {
  6. public enum VendorEventType
  7. {
  8. Unknown = 0,
  9. Login = 1,
  10. OfflineLogin = 2,
  11. ExtendLogin = 3,
  12. Logout = 4,
  13. DownloadVoucher = 5,
  14. PrintVoucher = 6,
  15. ViewVoucherPIN = 7
  16. }
  17. public int Id { get; set; }
  18. public int VendorId { get; set; }
  19. public int UserId { get; set; }
  20. public int? VoucherId { get; set; }
  21. public int? RemoteId { get; set; }
  22. public DateTimeOffset EventDate { get; set; }
  23. public VendorEventType EventType { get; set; }
  24. }
  25. }