using System;
using Util.Applications.Trees;
using Util.Domain.Trees;
namespace Util.ObjectMapping.AutoMapper.Tests.Samples {
///
/// 树形实体测试样例
///
public class TreeEntitySample : TreeEntityBase {
///
/// 初始化树型实体测试样例
///
public TreeEntitySample() : this( Guid.Empty ) {
}
///
/// 初始化树型实体测试样例
///
public TreeEntitySample( Guid id )
: base( id, "", 0 ) {
}
///
/// 初始化树型实体测试样例
///
public TreeEntitySample( Guid id, string path )
: base( id, path, 0 ) {
}
///
/// 名称
///
public string Name { get; set; }
}
///
/// 树形Dto测试样例
///
public class TreeEntityDto : TreeDtoBase {
///
/// 名称
///
public string Name { get; set; }
public override string GetText() {
return Name;
}
}
}