using System; using Util.Datas.Persistence; namespace Util.Tests.Samples { /// /// 持久化对象测试样例 /// public class PersistentObjectSample : PersistentObjectBase { /// /// 初始化持久化对象测试样例 /// public PersistentObjectSample() : this( Guid.Empty ) { } /// /// 初始化持久化对象测试样例 /// /// 标识 public PersistentObjectSample( Guid id ) { Id = id; } /// /// 姓名 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } } /// /// 持久化对象测试样例2 /// public class PersistentObjectSample2 : PersistentObjectBase { /// /// 初始化持久化对象测试样例2 /// public PersistentObjectSample2() : this( Guid.Empty ) { } /// /// 初始化持久化对象测试样例2 /// /// 标识 public PersistentObjectSample2( Guid id ) { Id = id; } /// /// 姓名 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } } }