package com.storlead.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 部门表
 * <p>
 *
 * @Author Steve
 * @Since  2019-01-22
 */
@Data
@TableName("job")
public class JobEntity extends SysBaseField {
    private static final long serialVersionUID = 1L;

	@TableId(type = IdType.INPUT)
	private Long id;

	@ApiModelProperty(value = "岗位名称")
	private String name;

	@ApiModelProperty(value = "部门id")
	private Long deptId;

 	@TableField("`desc`")
	private String desc;

	@ApiModelProperty(value = "数据来源")
	private Integer dataSource;
}
