package ${basePackage}.module.system.ent;

import ${basePackage}.frame.excel.annotation.ColumnDescription;
import ${basePackage}.frame.excel.annotation.ColumnName;
import ${basePackage}.frame.excel.annotation.ColumnList;
import ${basePackage}.frame.excel.annotation.SheetName;
import ${basePackage}.frame.base.BaseEntity;

/**
 * DEPT - 部门
 *
 * @author wangbing
 * @version 0.0.1
 * @since 2017-01-01
 */
@SheetName("部门")
public class Dept extends BaseEntity {

    /**
     * DEPT_CODE - 部门代码
     */
    @ColumnName("部门代码")
    @ColumnDescription("")
    private String deptCode;
    /**
     * DEPT_NAME - 部门名称
     */
    @ColumnName("部门名称")
    @ColumnDescription("")
    private String deptName;
    /**
     * DEPT_ALIAS - 部门别名
     */
    @ColumnName("部门别名")
    @ColumnDescription("")
    private String deptAlias;
    /**
     * SUP_CODE - 上级代码
     */
    @ColumnName("上级代码")
    @ColumnDescription("")
    private String supCode;
    /**
     * SUP_NAME - 上级名称
     */
    @ColumnName("上级名称")
    @ColumnDescription("")
    private String supName;
    /**
     * VALID - 是否有效
     */
    @ColumnName("是否有效")
    @ColumnDescription("")
    @ColumnList({"是", "否"})
    private Boolean valid;

    public String getDeptCode() {
        return this.deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return this.deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptAlias() {
        return this.deptAlias;
    }

    public void setDeptAlias(String deptAlias) {
        this.deptAlias = deptAlias;
    }

    public String getSupCode() {
        return this.supCode;
    }

    public void setSupCode(String supCode) {
        this.supCode = supCode;
    }

    public String getSupName() {
        return this.supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public Boolean getValid() {
        return this.valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }
}