using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Model.Model_New
{
///
/// 设备参数
///
[SugarTable("BASE_DEVICEPARAM", "AUCMA_MES")]
public class BaseDeviceParam
{
///
/// 主键标识
///
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true)]
public decimal ObjId { get; set; }
///
/// 参数编号
///
[SugarColumn(ColumnName = "PARAM_CODE")]
public string ParamCode { get; set; }
///
/// 参数名称
///
[SugarColumn(ColumnName = "PARAM_NAME")]
public string ParamName { get; set; }
///
/// 网络地址
///
[SugarColumn(ColumnName = "PARAM_NETWORK")]
public string ParamNetwork { get; set; }
///
/// 参数地址
///
[SugarColumn(ColumnName = "PARAM_ADDRESS")]
public string ParamAddress { get; set; }
///
/// 参数类型:int、float
///
[SugarColumn(ColumnName = "PARAM_TYPE")]
public string ParamType { get; set; }
///
/// 设备编号
///
[SugarColumn(ColumnName = "DEVICE_CODE")]
public string DeviceCode { get; set; }
///
/// 读取频率(毫秒)
///
[SugarColumn(ColumnName = "READ_FREQUENCY")]
public decimal? ReadFrequency { get; set; }
///
/// 是否标识
///
[SugarColumn(ColumnName = "IS_FLAG")]
public short? IsFlag { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "CREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "UPDATED_BY")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "UPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}