using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DOAN.Model.PBL { /// /// PLC地址 /// [SugarTable("plc_button_table")] public class PlcButton { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public int Id { get; set; } /// /// 按钮名称 /// public string Name { get; set; } /// /// 按钮型号 /// public string Code { get; set; } /// /// 料架id /// [SugarColumn(ColumnName = "storagelocation_id")] public int StoragelocationId { get; set; } /// /// PLC地址 /// public int Address { get; set; } /// /// PLC地址下标 /// public int Index { get; set; } } }