3 changed files with 83 additions and 1 deletions
-
39src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgBaseDto.cs
-
11src/Shentun.Peis.Application.Contracts/CustomerOrgs/ParentIdInputDto.cs
-
34src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs
@ -0,0 +1,39 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.Peis.CustomerOrgs |
|||
{ |
|||
public class CustomerOrgBaseDto |
|||
{ |
|||
//单位Id
|
|||
public Guid Id { get; set; } |
|||
//单位名称
|
|||
public string DisplayName { get; set; } |
|||
//父节点Id
|
|||
public Guid? ParentId { get; set; } |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 短名称
|
|||
/// </summary>
|
|||
public string ShortName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 单位编码
|
|||
/// </summary>
|
|||
public string CustomerOrgCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 拼音简码
|
|||
/// </summary>
|
|||
public string SimpleCode { get; set; } |
|||
|
|||
public int DisplayOrder { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 是否有下级
|
|||
/// </summary>
|
|||
public char IsChild { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.Peis.CustomerOrgs |
|||
{ |
|||
public class ParentIdInputDto |
|||
{ |
|||
public Guid? ParentId { get; set; } |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue