bus_equipment_spare_parts.cs 2.75 KB
using System;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
    [SugarTable("bus_equipment_spare_parts")]
    public partial class bus_equipment_spare_parts : base_Entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int iD { get; set; }
 
        /// <summary>
        /// 设备ID
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "设备ID", IsNullable = true)]
        public string equipmentID { get; set; }
 
        /// <summary>
        /// 备件名称
        /// </summary>
        [SugarColumn(Length = 400, ColumnDescription = "备件名称", IsNullable = true)]
        public string partName { get; set; }
 
        /// <summary>
        /// 备件编号
        /// </summary>
        [SugarColumn(Length = 200, ColumnDescription = "备件编号", IsNullable = true)]
        public string partNumber { get; set; }
 
        /// <summary>
        /// 制造商
        /// </summary>
        [SugarColumn(Length = 400, ColumnDescription = "制造商", IsNullable = true)]
        public string manufacturer { get; set; }
 
        /// <summary>
        /// 采购日期
        /// </summary>
        [SugarColumn(ColumnDescription = "采购日期", IsNullable = true)]
        public DateTime purchaseDate { get; set; }
 
        /// <summary>
        /// 数量
        /// </summary>
        [SugarColumn(ColumnDescription = "数量", IsNullable = true)]
        public int quantity { get; set; }
 
        /// <summary>
        /// 存放位置
        /// </summary>
        [SugarColumn(Length = 400, ColumnDescription = "存放位置", IsNullable = true)]
        public string location { get; set; }
 
        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(Length = 200, ColumnDescription = "状态", IsNullable = true)]
        public string status { get; set; }
 
        /// <summary>
        /// 维护频率
        /// </summary>
        [SugarColumn(Length = 200, ColumnDescription = "维护频率", IsNullable = true)]
        public string maintenanceFrequency { get; set; }
 
        /// <summary>
        /// 上次维护日期
        /// </summary>
        [SugarColumn(ColumnDescription = "上次维护日期", IsNullable = true)]
        public DateTime lastMaintenanceDate { get; set; }
 
        /// <summary>
        /// 下次维护日期
        /// </summary>
        [SugarColumn(ColumnDescription = "下次维护日期", IsNullable = true)]
        public DateTime nextMaintenanceDate { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(Length = 1000, ColumnDescription = "备注", IsNullable = true)]
        public string notes { get; set; }
 
     }
}