From 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期三, 09 七月 2025 22:55:27 +0800 Subject: [PATCH] 增加质检出入库逻辑 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs" new file mode 100644 index 0000000..cd54e64 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs" @@ -0,0 +1,54 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + [SugarTable("Sys_Role", "瑙掕壊琛�"), MultiTenant] + public class Sys_Role : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "涓婚敭")] + public int RoleId { get; set; } + + /// <summary> + /// 閮ㄩ棬鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true,IsIgnore = true, Length = 50, ColumnDescription = "閮ㄩ棬鍚嶇О")] + public string DeptName { get; set; } + + /// <summary> + /// 閮ㄩ棬涓婚敭 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "閮ㄩ棬涓婚敭")] + public int? DeptId { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鍚敤")] + public byte Enable { get; set; } + + /// <summary> + /// 鐖禝D + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐖禝D")] + public int ParentId { get; set; } + + /// <summary> + /// 瑙掕壊鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瑙掕壊鍚嶇О")] + public string RoleName { get; set; } + + [Navigate(NavigateType.OneToMany, nameof(ParentId), nameof(RoleId)), SugarColumn(IsIgnore = true, IsNullable = true)] + public List<Sys_Role> Roles { get; set; } + } +} -- Gitblit v1.9.3