TradeUpload.cs 845 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Text;
  5. namespace Dfs.WayneChina.SpsDataCourier.Guard
  6. {
  7. public class TradeUpload
  8. {
  9. [Key]
  10. public long Id { get; set; }
  11. /// <summary>
  12. /// GID of the record.
  13. /// </summary>
  14. public long Gid { get; set; }
  15. /// <summary>
  16. /// Operation type, 1 = INSERT, only `insert` is allowed for TransactionInfo.
  17. /// </summary>
  18. public int Operation { get; set; }
  19. /// <summary>
  20. /// Status of the operation, 0 = Success, others means Failure.
  21. /// </summary>
  22. public int Status { get; set; }
  23. /// <summary>
  24. /// Time stamp of the operation.
  25. /// </summary>
  26. public DateTime OperationTime { get; set; }
  27. }
  28. }