using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace CK.SCP.Models.ScpEntity
{
    public class V_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 FactoryName { get; set; }
        
        public string SupplierCode { get; set; }
        public string SupplierName { get; set; }

        [StringLength(50)]
        public string VendName { 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; }
        [StringLength(50)]
        public string FileName { get; set; }
        [StringLength(50)]
        public string FileNameMD5 { get; set; }

        [NotMapped]
        public List<string> UserInAddress { set; get; }

        [NotMapped]
        public List<string> UserInVendIds { set; get; }


        [NotMapped]
        public List<int> BillStateList { set; get; }






    }
}