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>
    /// OA미땍栗끓츠玖깊
    /// </summary>
    [Description("미땍栗끓츠玖깊")]
    public class TED_FIXED_DET : TED_BASE,ITaskTable
    {
        [Description("미땍栗끓긍뵀")]
        [StringLength(50)]
        public string FixedBillNum { get; set; }


        [Description("栗끓")]
        [StringLength(50)]
        public string Asset { get; set; }

        [Description("된섬")]
        [StringLength(50)]
        public string Class { get; set; }

        [Description("욋貫")]
        [StringLength(50)]
        public string Location { get; set; }

        [Description("삔셕데貫")]
        [StringLength(50)]
        public string Entity { get; set; }

        [Description("냥굶")]
        public decimal Cost { get; set; }

        [Description("꽥令")]
        public decimal Salvage { get; set; }

        [Description("路零令")]
        public decimal Replacement { get; set; }

        [Description("법瑯휑퍅")]
        public DateTime PostDate { get; set; }

        [Description("賈痰휑퍅")]
        public DateTime ServiceDate { get; set; }

        [Description("竿홈뵀")]
        [StringLength(50)]
        public string AuthorizationNbr { get; set; }

        [Description("瑯커")]
        [StringLength(50)]
        public string BOOK { get; set; }

        [Description("렘랬")]
        [StringLength(50)]
        public string Method { get; set; }

        [Description("稈츱")]
        public int Life { 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; }
    }
}