using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
namespace WIDESEAWCS_Model.Models
{
[SugarTable(nameof(Dt_MaterialInfo_Hty), "物料信息组盘历史记录表")]
public class Dt_MaterialInfo_Hty : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 物料名称
///
[SugarColumn(Length = 100, ColumnDescription = "物料名称")]
public string MaterialName { get; set; }
///
/// 容器编号
///
[SugarColumn(Length = 100, ColumnDescription = "容器编号")]
public string ContainerCode { get; set; }
///
/// 容器当前对应位置
///
[SugarColumn(Length = 100, ColumnDescription = "容器当前对应位置")]
public string Position { get; set; }
///
/// 容器出场位置
///
[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "容器出场位置")]
public string EndPosition { get; set; }
///
/// 是否新增增容器
///
[SugarColumn(ColumnDescription = "是否属于新增容器", DefaultValue = "0")]
public bool IsNew { get; set; }
///
/// 容器是否绑定
///
[SugarColumn(ColumnDescription = "容器是否绑定", DefaultValue = "1")]
public bool IsBind { get; set; }
///
/// 备用字段1
///
[SugarColumn(IsNullable = true, Length = 255, ColumnDataType = "nvarchar", ColumnDescription = "备用字段1")]
public string? location_bak_1 { get; set; }
///
/// 备用字段2
///
[SugarColumn(IsNullable = true, Length = 255, ColumnDataType = "nvarchar", ColumnDescription = "备用字段2")]
public string? location_bak_2 { get; set; }
///
/// 备用字段3
///
[SugarColumn(IsNullable = true, Length = 255, ColumnDataType = "nvarchar", ColumnDescription = "备用字段3")]
public string? location_bak_3 { get; set; }
}
}