namespace RB_MES_API.Models.Pangu
{
    /// <summary>
    /// 盘古系统从ERP查询采购订单的实体
    /// </summary>
    public class PO
    {
        /// <summary>
        /// 采购单编码
        /// </summary>
        public string PO_ID { get; set; }=string.Empty;
        /// <summary>
        /// 采购单行号
        /// </summary>
        public string PO_LINE { get; set; } = string.Empty;
        /// <summary>
        /// 物料编码
        /// </summary>
        public string MTRL_ID { get; set; } = string.Empty;
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MTRL_NAME { get; set; } = string.Empty;
        /// <summary>
        /// 物料规格
        /// </summary>
        public string MTRL_DESC { get; set; } = string.Empty;
        /// <summary>
        /// 物料数量
        /// </summary>
        public string M_QTY { get; set; }
        /// <summary>
        /// 已接收数量
        /// </summary>
        public string RM_QTY { get; set; }
        /// <summary>
        /// 已入库数量
        /// </summary>
        public string SM_QTY { get; set; }
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string SUP_ID { get; set; } = string.Empty;
        /// <summary>
        /// 仓库编码 默认空
        /// </summary>
        public string STORE_ID { get; set; } = string.Empty;
        public string MTRL_VER { get; set; } = string.Empty;
        public string PO_MODEL { get; set; } = string.Empty;
        public string IS_XH { get; set; } = string.Empty;
        public string IS_SD { get; set; } = string.Empty;
        public string FENTRYID { get; set; } = string.Empty;
    }
}
