DaqEquipmentFanucData.cs
1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using FreeSql.DataAnnotations;
namespace CNCFanucDataReading
{
/// <summary>
/// 发那科CNC机床数据采集信息
/// </summary>
[Table(Name = "daq_equipment_fanucio_data")]
public class DaqEquipmentFanucData
{
/// <summary>
/// 主键ID
/// </summary>
[Column(Name = "Id", DbType = "uniqueidentifier", IsPrimary = true)]
public Guid Id { get; set; }
/// <summary>
/// 设备编号
/// </summary>
[Column(Name = "EquipmentCode", StringLength = 255)]
public string EquipmentCode { get; set; }
/// <summary>
/// 设备名称
/// </summary>
[Column(Name = "EquipmentName", StringLength = 255)]
public string EquipmentName { get; set; }
/// <summary>
/// 读取到的信息,JSON形式
/// </summary>
[Column(Name = "DataInfo", DbType = "nvarchar(max)")]
public string DataInfo { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column(Name = "CreateTime", DbType = "datetime", IsNullable = false)]
public DateTime CreateTime { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Column(Name = "UpdateTime", DbType = "datetime", IsNullable = false)]
public DateTime UpdateTime { get; set; }
}
}