using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 物联卡缴费记录 /// public partial class IotPaymentRecord : System.ICloneable { /// /// /// public IotPaymentRecord() { } /// /// /// public IotPaymentRecord(IotPaymentRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.ProductID = rhs.ProductID; this.PayerName = rhs.PayerName; this.PaymentTime = rhs.PaymentTime; this.ValidDays = rhs.ValidDays; this.LimitValue = rhs.LimitValue; this.Description = rhs.Description; } /// /// /// public void Reset(IotPaymentRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.ProductID = rhs.ProductID; this.PayerName = rhs.PayerName; this.PaymentTime = rhs.PaymentTime; this.ValidDays = rhs.ValidDays; this.LimitValue = rhs.LimitValue; this.Description = rhs.Description; } /// /// 标识 /// public long ID { get; set; } /// /// 客户标识 /// public long CorpID { get; set; } /// /// 设备标识 /// public long ProductID { get; set; } /// /// 缴费人 /// public string PayerName { get; set; } /// /// 缴费时间 /// public DateTime PaymentTime { get; set; } /// /// 有效天数 /// public int ValidDays { get; set; } /// /// 有效额度 /// public double LimitValue { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public IotPaymentRecord Clone() { return (IotPaymentRecord)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }