You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
928 B
36 lines
928 B
2 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using BaseService.RelationBaseData;
|
||
|
|
||
|
namespace BaseService.BaseData.BranchManagement.Dto
|
||
|
{/// <summary>
|
||
|
/// 分支DTO
|
||
|
/// </summary>
|
||
|
public class CreateOrUpdateBranchDto
|
||
|
{
|
||
|
public short CategoryId { get; set; }
|
||
|
/// <summary>
|
||
|
/// 子分支ID
|
||
|
/// </summary>
|
||
|
public Guid? Pid { get; set; }
|
||
|
/// <summary>
|
||
|
/// 分支名称
|
||
|
/// </summary>
|
||
|
[Required]
|
||
|
public string Name { get; set; }
|
||
|
/// <summary>
|
||
|
/// 分类
|
||
|
/// </summary>
|
||
|
public int Sort { get; set; }
|
||
|
/// <summary>
|
||
|
/// 是否可用
|
||
|
/// </summary>
|
||
|
public bool Enabled { get; set; }
|
||
|
/// <summary>
|
||
|
/// 对应的角色列表
|
||
|
/// </summary>
|
||
|
public virtual ICollection<BranchRole> Roles { get; set; }
|
||
|
}
|
||
|
}
|