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

#nullable disable

namespace Ropin.Inspection.Model.Entities
{
    public partial class TISP_ContentGroup
    {
        public TISP_ContentGroup()
        {
            TISP_ContentGroupItems = new HashSet<TISP_ContentGroupItem>();
        }
        [Key]
        public Guid G_ID { get; set; } 
        public string C_StoreCode { get; set; }
        public string C_Name { get; set; }
        public int? I_Sort { get; set; }
        public string C_Remark { get; set; }
        public int I_Type { get; set; }
        public string C_PatrolItem { get; set; }
        public Guid G_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public Guid? G_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Status { get; set; }

        public virtual TPNT_Store C_StoreCodeNavigation { get; set; }
        public virtual TSYS_User G_CreateByNavigation { get; set; }
        public virtual TSYS_User G_LastUpdatedByNavigation { get; set; }
        public virtual ICollection<TISP_ContentGroupItem> TISP_ContentGroupItems { get; set; }
    }
}