
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2022-02-15 15:45:52 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 ///SystemBasicData
	 ///</summary>
	 [Table("SystemBasicData")]	
	 public class SystemBasicData : Entity, IAuditUpdate, IAuditAdd
	 {
	 
		/// <summary>
        /// Name
        /// </summary>
		[Required]
		public string Name { get; set; }=string.Empty;
	
		/// <summary>
        /// Value
        /// </summary>
		[Required]
		public string Value { get; set; } = string.Empty;

		/// <summary>
		/// Description
		/// </summary>
		[Required]
		public string Description { get; set; } = string.Empty;

		/// <summary>
		/// ShowOrder
		/// </summary>
		[Required]
		public int ShowOrder { get; set; }
	
		/// <summary>
        /// CreateTime
        /// </summary>
		[Required]
		public DateTime CreateTime { get; set; }
	
		/// <summary>
        /// CreateUserId
        /// </summary>
		[Required]
		public Guid CreateUserId { get; set; }
	
		/// <summary>
        /// UpdateTime
        /// </summary>
		[Required]
		public DateTime UpdateTime { get; set; }
	
		/// <summary>
        /// UpdateUserId
        /// </summary>
		[Required]
		public Guid UpdateUserId { get; set; }
	
		/// <summary>
        /// Code
        /// </summary>
		[Required]
		public string Code { get; set; }
	

		public Guid? ParentId { get; set; }

		[ForeignKey("ParentId")]
		public SystemBasicData Parent { get; set; }


		 public string ValueCN { get; set; } = string.Empty;

		public bool IsEnable { get; set; }


		public BasicDataTypeEnum  BasicDataTypeEnum { get; set; }



		
		

	}

}	 
