using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
///
/// 组盘表(库存)主表
///
[SugarTable("Dt_BillGroupStock")]
public class Dt_BillGroupStock:BaseEntity
{
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="GroupId" ,IsPrimaryKey = true) ]
public Guid GroupId { get; set; }
///
/// 备 注:托盘条码
/// 默认值:
///
[SugarColumn(ColumnName="PalletCode" ) ]
public string? PalletCode { get; set; }
///
/// 备 注:单据编号(关联inbound_order)
/// 默认值:
///
[SugarColumn(ColumnName="InboundNo" ) ]
public string? InboundNo { get; set; }
///
/// 备 注:物料编号
/// 默认值:
///
[SugarColumn(ColumnName="MaterialNo" ) ]
public string? MaterialNo { get; set; }
///
/// 备 注:批次号
/// 默认值:
///
[SugarColumn(ColumnName="BatchNo" ) ]
public string? BatchNo { get; set; }
///
/// 备 注:组盘类型 1,一次组盘 2,二次组盘(上架前,空托组过盘)
/// 默认值:
///
[SugarColumn(ColumnName="GroupType" ) ]
public string? GroupType { get; set; }
///
/// 备 注:组盘方式(1,内码 2,外码 3,内外码 4,空托盘)
/// 默认值:
///
[SugarColumn(ColumnName="GroupWay" ) ]
public string? GroupWay { get; set; }
/////
///// 备 注:组盘次数
///// 默认值:
/////
//[SugarColumn(ColumnName="Times" ) ]
//public int? Times { get; set; }
///
/// 备 注:是否满盘(如果已满盘不可二次组盘,人工确定是否满盘)
/// 默认值:
///
[SugarColumn(ColumnName="IsFull" ) ]
public bool? IsFull { get; set; }
///
/// 备 注:库位
/// 默认值:
///
[SugarColumn(ColumnName="LocationCode" ) ]
public string? LocationCode { get; set; }
///
/// 备 注:库存状态:1,组盘暂存 2,存储库存
/// 默认值:
///
[SugarColumn(ColumnName="State" ) ]
public string? State { get; set; }
///
/// 备 注:备注
/// 默认值:
///
[SugarColumn(ColumnName="Remark" ) ]
public string? Remark { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Spare1" ) ]
public string? Spare1 { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Spare2" ) ]
public string? Spare2 { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Spare3" ) ]
public string? Spare3 { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Spare4" ) ]
public string? Spare4 { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Spare5" ) ]
public string? Spare5 { get; set; }
[Navigate(NavigateType.OneToMany, nameof(Dt_BillGroupStockDetail.GroupId))]
public List Dt_BillGroupStockDetailList { get; set; }
}
}