
//--------------------------------------------------------------------
//     此代码由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
	 {
	 
		[Required]
		public string Name { get; set; }=string.Empty;
	

		[Required]
		public string Value { get; set; } = string.Empty;


		[Required]
		public string Description { get; set; } = string.Empty;


		[Required]
		public int ShowOrder { get; set; }

		[Required]
		public DateTime CreateTime { get; set; }
	

		[Required]
		public Guid CreateUserId { get; set; }
	

		[Required]
		public DateTime UpdateTime { get; set; }

		[Required]
		public Guid UpdateUserId { get; set; }
	

		[Required]
		public string Code { get; set; }
	

		public Guid? ParentId { get; set; }

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


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

		public bool IsEnable { get; set; }


		public BasicDataTypeEnum  BasicDataTypeEnum { get; set; }



		
		

	}

}	 
