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 
 | 
{ 
 | 
    /// <summary> 
 | 
    /// 批次信息 
 | 
    /// </summary> 
 | 
    [SugarTable(nameof(dt_batchInfo), "批次信息")] 
 | 
    public class dt_batchInfo : BaseEntity 
 | 
    { 
 | 
        /// <summary> 
 | 
        /// 主键 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] 
 | 
        public int Id { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 入库批次号 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "入库批次号")] 
 | 
        public string InBatch { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 出库批次号 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "出库批次号")] 
 | 
        public string OutBatch { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 物料信息,自产或外购 0自产 1外购 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "物料信息,自产或外购")] 
 | 
        public int materType { get; set; } 
 | 
    } 
 | 
} 
 |