54 lines
1.3 KiB
C#
54 lines
1.3 KiB
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CapMachine.Model.CANLIN
|
|
{
|
|
/// <summary>
|
|
/// CAN配置拓展数据
|
|
/// </summary>
|
|
[Table(Name = "CANConfigExd")]
|
|
public class CANConfigExd
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Column(IsPrimary = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 波特率
|
|
/// </summary>
|
|
[Column(Name = "BaudRate")]
|
|
public int BaudRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 周期
|
|
/// </summary>
|
|
[Column(Name = "Cycle")]
|
|
public int Cycle { get; set; }
|
|
|
|
/// <summary>
|
|
/// Dbc文件路径
|
|
/// </summary>
|
|
[Column(Name = "DbcPath", IsNullable = false, StringLength = 500)]
|
|
public string? DbcPath { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
///// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
|
///// </summary>
|
|
////[Key]
|
|
//public long CanLinConfigProId { get; set; }
|
|
|
|
|
|
////[Navigate(nameof(CanLinConfigProId))]
|
|
//public CanLinConfigPro? CanLinConfigPro { get; set; }
|
|
}
|
|
}
|