package com.fufan.mtsaas.modules.sysmgr.sydept.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 *
 * @author Liby
 * @date 2019-08-19
 */
@Data
@ApiModel(description = "部门信息表")
@TableName("SYDept")
public class SYDept implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "部门系统ID")
    private int id;

    @ApiModelProperty(value = "公司ID")
	private String companyID;

    @ApiModelProperty(value = "创建人员")
	private String registeredPerson;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private String  registeredDT;

    @ApiModelProperty(value = "更新人员")
	private String updatedPerson;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private String updatedDT;

    @ApiModelProperty(value = "是否排除 Y-是，N-否")
	private String exclusiveFG;

    @ApiModelProperty(value = "版本号")
	private String verNo;

    @ApiModelProperty(value = "上级部门ID")
	private String parID;

    @ApiModelProperty(value = "部门ID")
	private String subID;

    @ApiModelProperty(value = "部门名称")
	private String depName;

    @ApiModelProperty(value = "制造区分")
	private String spflag;

    @ApiModelProperty(value = "部门类型")
	private String depType;

    @ApiModelProperty(value = "备注")
	private String note;

    @ApiModelProperty(value = "部门路径")
	private String depPath;

    @ApiModelProperty(value = "排序")
    private int order;

    @ApiModelProperty(value = "负责人")
    private int manager;

    @ApiModelProperty(value = "有效标志：0-有效，1-无效")
    private String vldFG;

    @ApiModelProperty(value = "所属区域")
    private String division;
}
