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

#nullable disable

namespace Ropin.Inspection.Model.Entities
{
    public partial class TISP_Content
    {
        public TISP_Content()
        {
            TISP_ContentGroupItems = new HashSet<TISP_ContentGroupItem>();
            TISP_RecordItems = new HashSet<TISP_RecordItem>();
            TISP_SpotContents = new HashSet<TISP_SpotContent>();
        }
        [Key]
        public Guid C_ID { get; set; } = Guid.NewGuid();
        public string C_StoreCode { get; set; }
        public string C_Name { get; set; }
        public string C_AlarmLevel { get; set; }
        public int? I_Sort { get; set; }
        public string C_Number { get; set; }
        public string C_Remark { get; set; }
        public Guid C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public Guid? C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Status { get; set; }

        public virtual TSYS_User C_CreateByNavigation { get; set; }
        public virtual TSYS_User C_LastUpdatedByNavigation { get; set; }
        public virtual TPNT_Store C_StoreCodeNavigation { get; set; }
        public virtual ICollection<TISP_ContentGroupItem> TISP_ContentGroupItems { get; set; }
        public virtual ICollection<TISP_RecordItem> TISP_RecordItems { get; set; }
        public virtual ICollection<TISP_SpotContent> TISP_SpotContents { get; set; }
    }
}