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_RECEIPT_MSTR : TED_BASE,ITaskTable
    {
        [Description("꾸鱗逃")]
        [StringLength(50)]
        public string User { get; set; }

        [Description("새頓데")]
        [StringLength(50)]
        public string ASN { get; set; }

        [Description("꽃뭔땐데")]
        [StringLength(50)]
        public string PurchaseOrder { get; set; }

        [Description("묩壇�")]
        [StringLength(50)]
        public string Supplier { get; set; }

        [Description("澗새데뵀")]
        [StringLength(50)]
        public string ReceiveNbr { get; set; }

        [Description("澗새휑퍅")]
        public DateTime ReceiptDate { get; set; }

        [Description("珂쇌")]
        public DateTime Time { 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; }
    }
}