| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- using Business.Core.Attributes;
- using Bussiness.MongoModel;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.MongoModel.SystemData
- {
- /// <summary>
- /// 岗位表
- /// </summary>
- [Comment("岗位表")]
- [CollectionName("dopbase", "mo_sys_post")]
- public class mo_sys_post: MoBaseEntity
- {
- ///// <summary>
- ///// 主键id
- ///// </summary>
- //[Key]
- //[Comment("主键id")]
- //public long post_id { get; set; }
- /// <summary>
- /// 岗位编码
- /// </summary>
- [StringLength(50)]
- [Comment("岗位编码")]
- public string? post_code { get; set; }
- /// <summary>
- /// 岗位名称
- /// </summary>
- [StringLength(255)]
- [Comment("岗位名称")]
- public string? post_name { get; set; }
- /// <summary>
- /// 岗位备注
- /// </summary>
- [StringLength(255)]
- [Comment("岗位备注")]
- public string? post_remark { get; set; }
- /// <summary>
- /// 岗位级别
- /// </summary>
- [Comment("岗位级别")]
- public int? post_level { get; set; }
- /// <summary>
- /// 岗位路径
- /// </summary>
- [StringLength(255)]
- [Comment("岗位路径")]
- public string? post_path { get; set; }
- /// <summary>
- /// 岗位排序
- /// </summary>
- [Comment("岗位排序")]
- public int? post_sort { get; set; }
- /// <summary>
- /// 上级岗位
- /// </summary>
- [Comment("上级岗位")]
- public long? parent_id { get; set; }
- /// <summary>
- /// 部门id
- /// </summary>
- [Comment("部门id")]
- public long? dept_id { get; set; }
- /// <summary>
- /// 数据状态标识 1启用 0停用
- /// </summary>
- [StringLength(255)]
- [Comment("数据状态标识 1启用 -1停用")]
- [DefaultValue(true)]
- public bool state { get; set; }
- }
- }
|