using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models.BasicModel
|
{
|
[SugarTable(nameof(Dt_Changeovers), "换型信息")]
|
public class Dt_Changeovers : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 托盘编码
|
/// </summary>
|
[Required]
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编码")]
|
public string MaterielCode { get; set; }
|
|
/// <summary>
|
/// 产线
|
/// </summary>
|
[Required]
|
[SugarColumn(IsNullable = true, ColumnDescription = "产线")]
|
public string ProductionLine { get; set; }
|
|
/// <summary>
|
/// 工序
|
/// </summary>
|
[Required]
|
[SugarColumn(IsNullable = true, ColumnDescription = "工序")]
|
public string ProcessCode { get; set; }
|
|
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[Required]
|
[SugarColumn(IsNullable = true, ColumnDescription = "状态")]
|
public string Status { get; set; }
|
}
|
}
|