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

#nullable disable

namespace Ropin.Inspection.Model.Entities
{
    public partial class TISP_Record
    {
        public TISP_Record()
        {
            TISP_RecordItems = new HashSet<TISP_RecordItem>();
        }
        [Key]
        public Guid C_ID { get; set; } = Guid.NewGuid();
        public Guid C_SpotCode { 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 TISP_Spot C_SpotCodeNavigation { get; set; }
        public virtual ICollection<TISP_RecordItem> TISP_RecordItems { get; set; }
    }
}