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
{
///
/// CAN配置拓展数据
///
[Table(Name = "CANConfigExd")]
public class CANConfigExd
{
///
/// 主键
///
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 波特率
///
[Column(Name = "BaudRate")]
public int BaudRate { get; set; }
///
/// 周期
///
[Column(Name = "Cycle")]
public int Cycle { get; set; }
///
/// Dbc文件路径
///
[Column(Name = "DbcPath", IsNullable = false, StringLength = 500)]
public string? DbcPath { get; set; }
/////
///// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
/////
////[Key]
//public long CanLinConfigProId { get; set; }
////[Navigate(nameof(CanLinConfigProId))]
//public CanLinConfigPro? CanLinConfigPro { get; set; }
}
}