EquipmentStatusRecord.cs 1.16 KB
using FreeSql.DataAnnotations;

namespace HHECS.DAQShared.Models
{
    /// <summary>
    /// 设备状态记录
    /// </summary>
    [Table(Name = "daq_equipmentStatusRecord")]
    public class EquipmentStatusRecord
    {
        [Column(IsPrimary = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 设备编号/IOT云平台设备SN
        /// </summary>
        public string EquipmentCode { get; set; } = null!;

        /// <summary>
        /// 设备名称
        /// </summary>
        public string EquipmentName { get; set; } = null!;

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; } = null!;

        /// <summary>
        /// 是否结束
        /// </summary>
        public bool IsEnd { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WarehouseCode { get; set; } = null!;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}