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

namespace CK.SCP.Models.ScpEntity
{
    public class TA_Info
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }


        [StringLength(50)]
        public string FactoryCode { get; set; }

        [StringLength(50)]
        public string InfoType { get; set; }


        [StringLength(50)]
        public string SupplierCode { get; set; }

        [StringLength(50)]
        public string Title { get; set; }


        public string Content { get; set; }

        public DateTime AddTime { get; set; }

        [StringLength(500)]
        public string UserName { get; set; }

        [StringLength(50)]
        public string Enable { get; set; }

        public DateTime ReadTime { get; set; }
    }
}