using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ChangKeTec.Wms.Models.Wms
{
    public partial class VIEW_PICK_FACT
    {
        [Key]
        [Column(Order = 0)]
        public int UID { get; set; }

        [Key]
        [Column(Order = 1)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int 状态 { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(50)]
        public string 单据号 { get; set; }

        [Key]
        [Column(Order = 3)]
        [StringLength(50)]
        public string 标签号 { get; set; }

        [Key]
        [Column(Order = 4)]
        [StringLength(50)]
        public string 叫料位置 { get; set; }

        [Key]
        [Column(Order = 5)]
        [StringLength(50)]
        public string 目标库位 { get; set; }

        [StringLength(50)]
        public string 生产线 { get; set; }

        [Key]
        [Column(Order = 6)]
        [StringLength(50)]
        public string 物料号 { get; set; }

        [Key]
        [Column(Order = 7)]
        [StringLength(50)]
        public string 批次 { get; set; }

        [Key]
        [Column(Order = 8, TypeName = "money")]
        public decimal 数量 { get; set; }

        [Key]
        [Column(Order = 9)]
        [StringLength(50)]
        public string 来源库位 { get; set; }

        [Key]
        [Column(Order = 10)]
        [StringLength(50)]
        public string 拣货时间 { get; set; }

        [Key]
        [Column(Order = 11)]
        public DateTime 截止时间 { get; set; }

        [StringLength(200)]
        public string 备注 { get; set; }
    }
}