using BPA.SAAS.Manage.Comm.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.SAAS.Manage.Application.DataBase.Dtos.GoodsType
{
    public class GoodsTypeTree
    {
        [SugarColumn(IsTreeKey = true)]
        public string Id { get; set; } //关联字段 默认是主键
        public string Name { get; set; }
        public int Sort { get; set; }
        public string Remark { get; set; }
        public CommonStatus Status { get; set; }
        public string Pid { get; set; }//父级字段
        public List<GoodsTypeTree> Children { get; set; }
    }
}
