// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity;

namespace PVDEMCS.Services.Repositories.Entities;


/// <summary>
/// 设备状态记录明显
/// </summary>
[Table("equipment_record")]
public partial class EquipmentRecordEntity : CUBaseEntity
{

    /// <summary>
    /// 设备类型：Ionbond，Balzers，Cemecon
    /// </summary>
    [Required]
    [Column("equipment_id")]
    [StringLength(32)]
    public string EquipmentId { get; set; }

    /// <summary>
    /// 设备编码
    /// </summary>
    [Required]
    [Column("start_time", TypeName = "datetime")]
    [StringLength(32)]
    public DateTime StartTime { get; set; }

    /// <summary>
    /// 设备名称
    /// </summary>
    [Required]
    [Column("end_time", TypeName = "datetime")]
    [StringLength(32)]
    public DateTime EndTime { get; set; }

    /// <summary>
    /// 设备状态,运行:Run，待机:Stop，报警:Alarm
    /// </summary>
    [Column("state")]
    public string State { get; set; }

}