This commit is contained in:
2024-12-18 15:50:21 +08:00
parent 684973e6b7
commit b2c54119ea
214 changed files with 65908 additions and 8461 deletions

View File

@@ -0,0 +1,55 @@
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model.CANLIN
{
/// <summary>
/// CAN和LIN的配置数据内容
/// </summary>
[Table(Name = "CanLinConfigContent")]
public class CanLinRWConfig
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 输入输出信息 读取/写入/系统
/// </summary>
[Column(Name = "RWInfo", IsNullable = false, MapType = typeof(string))]
public RW RWInfo { get; set; }
/// <summary>
/// 配置项名称-比如转速、功率限制等
/// </summary>
[Column(Name = "Name", IsNullable = false, StringLength = 50)]
public string? Name { get; set; }
/// <summary>
/// 配置项值
/// </summary>
[Column(Name = "Content", IsNullable = false, StringLength = 100)]
public string? Content { get; set; }
/// <summary>
/// 配置项默认值和数据
/// </summary>
[Column(Name = "DefautValue", IsNullable = true, StringLength = 50)]
public string? DefautValue { get; set; }
/// <summary>
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
/// </summary>
public long CanLinConfigProId { get; set; }
public CanLinConfigPro? CanLinConfigPro { get; set; }
}
}