166 lines
4.6 KiB
C#
166 lines
4.6 KiB
C#
using MiniExcelLibs.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ZR.Model.MES.pro
|
|
{
|
|
/// <summary>
|
|
/// 生产工单
|
|
/// </summary>
|
|
[SugarTable("pro_workorder2", TableDescription = "生产工单")]
|
|
public class ProWorkorder_v2
|
|
{
|
|
/// <summary>
|
|
/// 工单号WO20240301001
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true,ColumnName ="id")]
|
|
[ExcelIgnore]
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 毛坯号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "blank_number")]
|
|
[ExcelColumn(Name = "毛坯号", IndexName = "A")]
|
|
public string BlankNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 成品零件号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "finished_part_number")]
|
|
[ExcelColumn(Name = "成品零件号", IndexName = "B")]
|
|
public string FinishedPartNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品描述
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "product_description")]
|
|
[ExcelColumn(Name = "产品描述", IndexName = "C")]
|
|
public string ProductDescription { get; set; }
|
|
|
|
/// <summary>
|
|
/// 颜色
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "colour")]
|
|
[ExcelColumn(Name = "颜色", IndexName = "D")]
|
|
public string Colour { get; set; }
|
|
|
|
/// <summary>
|
|
/// 规格
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "specifications")]
|
|
[ExcelColumn(Name = "规格", IndexName = "E")]
|
|
public string Specifications { get; set; }
|
|
|
|
/// <summary>
|
|
/// 编码号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "code_number")]
|
|
[ExcelColumn(Name = "编码号", IndexName = "F")]
|
|
public int CodeNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车数
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "vehicle_number")]
|
|
[ExcelColumn(Name = "车数", IndexName = "G")]
|
|
public int VehicleNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 挂具摆放
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "hang_number")]
|
|
[ExcelColumn(Name = "挂具摆放", IndexName = "H")]
|
|
public int hangNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上件数
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "previous_number")]
|
|
[ExcelColumn(Name = "上件数", IndexName = "I")]
|
|
public int PreviousNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 双组号缸号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "cylinder_number")]
|
|
[ExcelColumn(Name = "双组号缸号", IndexName = "J")]
|
|
public string CylinderNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注1
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "remark1")]
|
|
[ExcelColumn(Name = "备注1", IndexName = "K")]
|
|
public string Remark1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注2
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "remark2")]
|
|
[ExcelColumn(Name = "备注2", IndexName = "L")]
|
|
public string Remark2 { get; set; }
|
|
/// <summary>
|
|
/// 备注3
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "remark3")]
|
|
[ExcelIgnore]
|
|
public string Remark3 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 年
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "year")]
|
|
[ExcelIgnore]
|
|
public int Year { get; set; }
|
|
|
|
/// <summary>
|
|
/// 周
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "week")]
|
|
[ExcelIgnore]
|
|
public int Week { get; set; }
|
|
|
|
/// <summary>
|
|
/// 日
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "date")]
|
|
[ExcelIgnore]
|
|
public int Date { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CREATED_BY")]
|
|
[ExcelIgnore]
|
|
public string CreatedBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CREATED_TIME")]
|
|
[ExcelIgnore]
|
|
public DateTime CreatedTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新人
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "UPDATED_BY")]
|
|
[ExcelIgnore]
|
|
public string UpdatedBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
|
[ExcelIgnore]
|
|
public DateTime UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
}
|