using Syc.Basic.Web.WMS.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
namespace Syc.Basic.Web.WMS.Entitys
{
///
/// 组织
///
public class Organization:Entity
{
public Organization()
{
Users = new List();
}
///
/// 组织编号
///
public string Code { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 描述
///
public string Description { get; set; }
///
/// 负责人ID
///
public int? Leader { get; set; }
///
/// 状态 0:正常 1:停用
///
public bool Status { get; set; }
///
/// 类型 0:公司 1:部门
///
public OrganizationType Type { get; set; }
///
/// 上级ID
///
public int? Pid { get; set; }
///
/// 机器人助手
///
public int wechatRobotId { get; set; }
///
/// 排序
///
public int Order { get; set; }
///
/// 创建时间
///
public DateTime Createtime { get; set; }
[NotMapped]
public List Children { get; set; }
public virtual List Users { get; set; }
}
}