using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using CK.SCP.Models.Base;
using CK.SCP.Models.Enums;

namespace CK.SCP.Models.ExchangeCenterTables
{
    /// <summary>
    /// 痄踱隴牉桶
    /// </summary>
    [Description("痄踱隴牉桶")]
    public class TED_TRANSFER_DET : TED_BASE,ITaskTable
    {
        [Description("昜蹋瘍")]
        [StringLength(50)]
        public string PartCode { get; set; }

        [Description("等瘍")]
        [StringLength(50)]
        public string TransferBillNum { get; set; }

        [Description("宎華萸")]
        [StringLength(50)]
        public string FormSite { get; set; }

        [Description("宎踱弇")]
        [StringLength(50)]
        public string FormLocation { get; set; }

        [Description("宎蠶瘍")]
        [StringLength(50)]
        public string FormLotNbr { get; set; }

        [Description("宎統蕉")]
        [StringLength(50)]
        public string FormReference { get; set; }

        [Description("祫華萸")]
        [StringLength(50)]
        public string ToSite { get; set; }

        [Description("祫踱弇")]
        [StringLength(50)]
        public string ToLocation { get; set; }

        [Description("祫蠶瘍")]
        [StringLength(50)]
        public string ToLotNbr { get; set; }

        [Description("祫統蕉")]
        [StringLength(50)]
        public string ToReference { get; set; }


        [Key]
        public Guid GUID { get; set; } = Guid.NewGuid();

        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int UID { get; set; }

        [Description("斐膘�")]
        [StringLength(50)]
        public string CreateUser { get; set; }

        [Description("斐膘奀潔")]
        public DateTime CreateTime { get; set; }


        [Description("掘蛁")]
        public string Remark { get; set; }

        [Description("¦昢晤瘍")]
        public Guid TaskID { get; set; }

        [Description("韜鍔濬倰")]
        [StringLength(50)]
        public string CommandType { get; set; }

        public Guid DataID { get; set; }

        [Description("郖")]
        [StringLength(50)]
        public string Domain { get; set; }

        [Description("華萸")]
        [StringLength(50)]
        public string Site { get; set; }
    }
}