using Magicodes.ExporterAndImporter.Core;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.Attributes;
|
using WIDESEA_Core.DB.Models;
|
using WIDESEA_Core.Enums;
|
|
namespace WIDESEA_Model.Models
|
{
|
[SugarTable(nameof(Sys_CreateTask), "检修任务")]
|
public class Sys_CreateTask
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[ImporterHeader(Name = "主键")]
|
[ExporterHeader(DisplayName = "主键", IsIgnore = true)]
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Current_id { get; set; }
|
|
|
|
/// <summary>
|
/// 托盘编号
|
/// </summary>
|
[ImporterHeader(Name = "托盘编号")]
|
[ExporterHeader(DisplayName = "托盘编号", IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "托盘编号")]
|
public string Current_PalletCode { get; set; }
|
|
/// <summary>
|
/// 车组号
|
/// </summary>
|
[ImporterHeader(Name = "车组号")]
|
[ExporterHeader(DisplayName = "车组号", IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "车组号")]
|
public string Current_Carset { get; set; }
|
|
|
|
|
|
/// <summary>
|
/// 车号
|
/// </summary>
|
[ImporterHeader(Name = "车号")]
|
[ExporterHeader(DisplayName = "车号", IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "车号")]
|
public string Current_Models { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
[ImporterHeader(Name = "名称")]
|
[ExporterHeader(DisplayName = "名称", IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "名称")]
|
public string Current_Parts { get; set; }
|
|
/// <summary>
|
/// 数量
|
/// </summary>
|
[ImporterHeader(Name = "数量")]
|
[ExporterHeader(DisplayName = "数量", IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "数量")]
|
public int Current_count { get; set; }
|
|
/// <summary>
|
/// 车型
|
/// </summary>
|
[ImporterHeader(Name = "车型")]
|
[ExporterHeader(DisplayName = "车型", IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "车型")]
|
public string Current_Vehiclenumber { get; set; }
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[ImporterHeader(Name = "状态")]
|
[ExporterHeader(DisplayName = "状态", IsIgnore = true)]
|
[SugarColumn(IsNullable = false, ColumnDescription = "状态")]
|
public int Current_Static { get; set; }
|
|
/// <summary>
|
/// 创建者
|
/// </summary>
|
[ImporterHeader(IsIgnore = true)]
|
[ExporterHeader(IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 50, IsOnlyIgnoreUpdate = true, ColumnDescription = "创建者")]
|
public string Creater { get; set; }
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
[ImporterHeader(IsIgnore = true)]
|
[ExporterHeader(DisplayName = "创建时间")]
|
[SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "创建时间")]
|
public DateTime CreateDate { get; set; } = DateTime.Now;
|
|
/// <summary>
|
/// 检修站台
|
/// </summary>
|
[ImporterHeader(IsIgnore = true)]
|
[ExporterHeader(IsIgnore = true)]
|
[SugarColumn(IsNullable = false, Length = 50, IsOnlyIgnoreUpdate = true, ColumnDescription = "检修站台")]
|
public string CreateSta { get; set; }
|
}
|
}
|