mirror of
				https://gitee.com/csharpui/CPF.git
				synced 2025-11-01 00:46:56 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			624 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			624 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Text;
 | |
| 
 | |
| namespace ConsoleApp1
 | |
| {
 | |
|     public class ItemData : CPF.CpfObject
 | |
|     {
 | |
|         public string Name
 | |
|         {
 | |
|             get { return GetValue<string>(); }
 | |
|             set { SetValue(value); }
 | |
|         }
 | |
|         public string Introduce
 | |
|         {
 | |
|             get { return GetValue<string>(); }
 | |
|             set { SetValue(value); }
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     public class TestClass
 | |
|     {
 | |
|         public string test { get; set; }
 | |
|         public override string ToString()
 | |
|         {
 | |
|             return test;
 | |
|             //return base.ToString();
 | |
|         }
 | |
|     }
 | |
| }
 | 
