You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1016 B
C#

5 months ago
using Chloe.Annotations;
namespace WorkerSynReport;
[Table(Name = "WarnTable")]
public class WarnTable
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimaryKey = true)]
[NonAutoIncrement]
public long Id { get; set; }
public int AlarmId { get; set; }
public string CnInfo { get; set; }
public string OtherInfo { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public int Num { get; set; }
public int Status { get; set; }
}
[Table(Name = "WarnTableInfo")]
public class WarnTableInfo
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimaryKey = true)]
[AutoIncrement]
public int Id { get; set; }
public int AlarmId { get; set; }
public string CnInfo { get; set; }
public string OtherInfo { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public int Num { get; set; }
public int Status { get; set; }
}