EquipmentDataRecord.cs 826 Bytes
using FreeSql.DataAnnotations;

namespace HHECS.DAQShared.Models.IOTCloud
{
    [Table(Name = "daq_equipment_data_record")]
    public class EquipmentDataRecord : BaseEntityCU<Guid>
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        public string EquipmentCode { get; set; } = null!;

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

        public string EquipmentPropCode { get; set; } = null!;

        public string EquipmentPropName { get; set; } = null!;

        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; } = null!;

        /// <summary>
        /// 数据源时间戳
        /// </summary>
        public long SourceTimestamp { get; set; }
    }
}