package com.example.removetolocal.olduser.domin;

import lombok.AllArgsConstructor;
import lombok.Data;
import javax.persistence.*;

import lombok.NoArgsConstructor;

/**
 * entity class for sys_company
*/
@Data
@Entity
@Table(name = "sys_company")
@NoArgsConstructor
@AllArgsConstructor
public class SysCompanyEntity {

	/**
	* companyId
	*/
	@Id
	@Column(name = "companyId")
	private String companyId;
	/**
	* companyName
	*/
	@Column(name = "companyName")
	private String companyName;
	/**
	* 简称
	*/
	@Column(name = "companyDesc")
	private String companyDesc;
	/**
	* pid
	*/
	private String pid;
	/**
	* level
	*/
	private Integer level;
	/**
	* showorder
	*/
	@Column(name = "showorder", precision = 11, scale = 0)
	private Double showorder;
	/**
	* 拼音
	*/
	private String pinyin;
	/**
	* 默认为0， 1表示已经删除
	*/
	private Integer isdel;
	/**
	* 编号
	*/
	private String code;
	/**
	* 是否有系统 1有 2没有
	*/
	@Column(name = "isHaveSystem")
	private Integer isHaveSystem;
	/**
	* areaId
	*/
	@Column(name = "areaId")
	private String areaId;

}
