using System; using System.ComponentModel.DataAnnotations; namespace Dfs.WayneChina.PosModelMini { public class PosTrxMop { /// /// Unique id of the POS Transaction MOP. /// public Guid Id { get; set; } /// /// could have multiple MOP in one trx (split tender), this stands for the sequence of selected MOP. /// public int LineNum { get; set; } /// /// Pay amount. /// public decimal Paid { get; set; } /// /// Gets or sets 用户授权码, 当商户用扫码枪扫用户的条形码时得到的字符串 /// public string AuthCode { get; set; } /// /// Result code. /// public string ResultCode { get; set; } /// /// Message of description of the result. /// public string ResultMessage { get; set; } /// /// Error detail of the POS transaction MOP. /// public string ErrorDetail { get; set; } /// /// Gets or sets the raw result (a string) from 3rd party payment server. /// public string RawResult { get; set; } /// /// Gets or sets the 商户订单号, 确保唯一 /// [MaxLength(28)] public string BillNumber { get; set; } /// /// cashback? /// public decimal PayBack { get; set; } #region Car Plate related /// /// The license plate number of the car. /// public string CarPlateNumber { get; set; } /// /// Image the license plate. /// public byte[] CarPlatePicture { get; set; } #endregion #region IC related /// /// IC card number. /// public string ICCardNumber { get; set; } #endregion /// /// Associated POS Transaction id. /// public Guid PosTrxId { get; set; } /// /// Associated POS Transaction. /// public virtual PosTrx PosTrx { get; set; } /// /// Associated POS MOP id. /// public Guid PosMopId { get; set; } /// /// Associated POS MOP. /// public virtual PosMop Mop { get; set; } } }