using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Dfs.WayneChina.SpsDataCourier.Guard { public class CardUpload { [Key] public long Id { get; set; } /// /// GID from the original record. /// public long Gid { get; set; } /// /// Card number. /// [Required] public string CardNo { get; set; } /// /// The operation type, 1 = INSERT, 2 = UPDATE. /// public byte Operation { get; set; } /// /// Status of the operation, 0 = SUCCESS, rest means FAILURE. /// public int Status { get; set; } /// /// Time stamp of the operation. /// public DateTime OperationTime { get; set; } } }