yanjinhui
2025-06-12 95ac5296182b763d12125c1d47f53c00632ffc41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
using SqlSugar;
 
namespace WIDESEAWCS_Model.Models
{
    [SugarTable(nameof(Dt_Department), "部门表")]
    public class Dt_Department : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int  Id{ get; set; }
 
        /// <summary>
        /// 部门名称
        /// </summary>
        [SugarColumn(IsNullable =true,Length =50,ColumnDescription ="部门名称")]
        public string DepartmentName { get; set; }
    }
}