优化代码注释&命名空间

This commit is contained in:
不做码农
2023-05-04 18:20:18 +08:00
parent 547945d85b
commit a89762e070
47 changed files with 224 additions and 353 deletions

View File

@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace ZR.Model.System.Dto
{
@@ -15,18 +13,14 @@ namespace ZR.Model.System.Dto
public class RoleUsersCreateDto
{
/// <summary>
/// 描述 : 角色id
/// 空值 : False
/// 默认 :
/// 角色id
/// </summary>
[Display(Name = "角色id")]
[Required(ErrorMessage = "roleId 不能为空")]
public long RoleId { get; set; }
/// <summary>
/// 描述 : 用户编码 [1,2,3,4]
/// 空值 : False
/// 默认 :
/// 用户编码 [1,2,3,4]
/// </summary>
[Display(Name = "用户编码 [1,2,3,4]")]
public List<long> UserIds { get; set; }