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

#nullable disable

namespace Ropin.Inspection.Model.Entities
{
    public partial class TSYS_License
    {
        public TSYS_License()
        {
            TPNT_Stores = new HashSet<TPNT_Store>();
            TSYS_Orgs = new HashSet<TSYS_Org>();
            TSYS_Roles = new HashSet<TSYS_Role>();
            TSYS_Users = new HashSet<TSYS_User>();
        }
        [Key]
        public Guid C_ID { get; set; }
        public string C_TypeCode { get; set; }
        public string C_Code { get; set; }
        public string C_Name { get; set; }
        public int I_MemberQty { get; set; }
        public int I_SpotQty { get; set; }
        public string C_FilePath { get; set; }
        public DateTime D_StartDate { get; set; }
        public DateTime D_EndDate { get; set; }
        public int? I_Sort { 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 TSYS_LicenseType C_TypeCodeNavigation { get; set; }
        public virtual ICollection<TPNT_Store> TPNT_Stores { get; set; }
        public virtual ICollection<TSYS_Org> TSYS_Orgs { get; set; }
        public virtual ICollection<TSYS_Role> TSYS_Roles { get; set; }
        public virtual ICollection<TSYS_User> TSYS_Users { get; set; }
    }
}