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("MachineError")]
public partial class MachineError
{
public MachineError()
{
}
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public int Id { get; set; }
[StringLength(25)]
public string ChargePointSerialNumber { get; set; }
///
/// 槍號
///
public byte ConnectorId { get; set; }
///
/// 先前的狀態
///
public int PreStatus { get; set; }
///
/// 錯誤的狀態
///
public int Status { get; set; }
///
/// 錯誤代碼
///
public int ErrorCode { get; set; }
///
///ErrorInfo
///
[StringLength(50)]
public string ErrorInfo { set; get; }
///
/// vendorId
///
[StringLength(255)]
public string VendorId { set; get; }
///
/// vendorErrorCode
///
public int VendorErrorCodeNum { set; get; }
[Required]
public DateTime? CreatedOn { get; set; }
}
}