using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Common.CommonEnum;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
///
/// MO票入库单据表
///
[SugarTable(nameof(Dt_MoInboundOrder), "MO票入库单据表")]
public class Dt_MoInboundOrder:BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 物料编号
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编号")]
public string ItemCode { get; set; }
///
/// MO票
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "MO票")]
public string LabelNo { get; set; }
///
/// 单据号
///
[SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "单据号")]
public string BarcodeNumber { get; set; }
///
/// VMI物流状态(已创建,已备货,已发运,已取消)
///
[SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "VMI物流状态(已创建,已备货,已发运,已取消)")]
public string Status { get; set; }
///
///有效标识(0:有效、1:无效)
///
[SugarColumn(IsNullable = false, ColumnDescription = "有效标识(0:有效、1:无效)")]
public long DeleteFlag { get; set; }
///
/// 供方编码
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "供方编码")]
public string SupplierCode { get; set; }
///
/// 需求组织编码
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "需求组织编码")]
public string OrgId { get; set; }
///
/// 数量
///
[SugarColumn(IsNullable = false, ColumnDescription = "数量")]
public decimal Qty { get; set; }
///
/// 作业号
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "作业号")]
public string WorkOrderName { get; set; }
///
/// 推送状态
///
[SugarColumn(IsNullable = true, ColumnDescription = "推送状态")]
public int ReturnToPlsStatus { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
public string Remark { get; set; }
}
}