AccountUpload.cs 960 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 AccountUpload
  8. {
  9. [Key]
  10. public long Id { get; set; }
  11. /// <summary>
  12. /// GID of the original record.
  13. /// </summary>
  14. public long Gid { get; set; }
  15. /// <summary>
  16. /// Account ID.
  17. /// </summary>
  18. [Required]
  19. public string AccountId { get; set; }
  20. /// <summary>
  21. /// The operation type, 1 = INSERT, 2 = UPDATE.
  22. /// </summary>
  23. public byte Operation { get; set; }
  24. /// <summary>
  25. /// Status of the operation, 0 = SUCCESS, rest means FAILURE.
  26. /// </summary>
  27. public int Status { get; set; }
  28. /// <summary>
  29. /// Time stamp of the operation.
  30. /// </summary>
  31. public DateTime OperationTime { get; set; }
  32. }
  33. }