using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EVCB_OCPP.Domain.Models.Database { /// /// 需確認的指令發送檔 /// [Table("ServerCommand")] public partial class ServerCommand { public ServerCommand() { } [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Key] public int Id { get; set; } /// /// 機器的客戶自訂ID /// [StringLength(25)] public string ChargePointSerialNumber { get; set; } /// /// 隨機序號 /// [StringLength(36)] public string SerialNo { get; set; } /// /// 送出傳送資料 /// public string OutMessage { get; set; } /// /// 輸入傳送資料 /// public string InMessage { get; set; } public DateTime CreatedOn { get; set; } public string CreatedBy { get; set; } /// /// 收到輸入指令 /// public DateTime? ReceivedOn { get; set; } } }