V1版本
This commit is contained in:
46
CapMachine.Model/ConfigLimit.cs
Normal file
46
CapMachine.Model/ConfigLimit.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
[Table(Name = "ConfigLimit")]
|
||||
public class ConfigLimit
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 快速设置仪表名称
|
||||
/// </summary>
|
||||
[Column(Name = "MeterName", IsNullable = true, StringLength = 30)]
|
||||
public string MeterName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[Column(Name = "IndexNo", IsNullable = false)]
|
||||
public int IndexNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上限
|
||||
/// </summary>
|
||||
[Column(Name = "Up", DbType = "decimal(5, 1)", IsNullable = true)]
|
||||
public decimal Up { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下限
|
||||
/// </summary>
|
||||
[Column(Name = "Down", DbType = "decimal(5, 1)", IsNullable = true)]
|
||||
public decimal Down { get; set; }
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user