XklCompanyEntity.java 959 Bytes
package com.xkl.domain;
import lombok.Data;

import javax.persistence.*;

/**
 * Created by win7 on 2017/2/27.
 */
@Data
@Entity
@Table(name = "xkl_company")
public class XklCompanyEntity {
    @Id
    @GeneratedValue
    @Column(name = "id")
    private long id;
    @Basic
    @Column(name = "name")
    private String name;
    @Basic
    @Column(name = "parent_id")
    private long parentId;
    @Basic
    @Column(name = "province_id")
    private long provinceId;
    @Basic
    @Column(name = "city_id")
    private long cityId;
    @Basic
    @Column(name = "country_id")
    private long countryId;
    @Basic
    @Column(name = "company_code")
    private long companyCode;
    @Basic
    @Column(name = "company_type")
    private int companyType;
    @Basic
    @Column(name = "level")
    private int level;
    @Basic
    @Column(name = "show_level")
    private int showLevel;
    @Basic
    @Column(name = "status")
    private int status;
}