using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace VOL.YSErp.Models.Biz { public class YSERPDepartment { /* * 名称 类型 数组 描述 orgtype int 否 组织类型,1组织 2部门 code string 否 编码 sysid string 否 系统标识 displayorder int 否 排序 parentid string 否 上级节点主键 dr int 否 删除标识,0未删除 1已删除 parentCode string 否 上级节点编码 parentorgid string 否 所属组织主键 enable long 否 启用状态,0初始化 1启用 2停用 is_biz_unit int 否 是否为业务单元,0否 1是 tenantid string 否 租户标识 name string 否 名称 id string 否 主键ID pubts string 否 时间戳,格式yyyy-MM-dd HH:mm:ss */ public int orgtype { get; set; } public string code { get; set; } public string sysid { get; set; } public int displayorder { get; set; } public string parentid { get; set; } public int dr { get; set; } public string parentCode { get; set; } public string parentorgid { get; set; } public int enable { get; set; } public int is_biz_unit { get; set; } public string tenantid { get; set; } public string name { get; set; } public string id { get; set; } public string pubts { get; set; } [JsonIgnore] public List subDepts { get; set; } = []; } }