|
|
|
@ -0,0 +1,52 @@
|
|
|
|
|
using FreeSql.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.FreeDb
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Table(Name = "WarnTable")]
|
|
|
|
|
public class WarnTable
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(IsPrimary = true, IsIdentity = false)]
|
|
|
|
|
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(IsPrimary = true, IsIdentity = true)]
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|