XklCompanyEntity.java 964 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 Byte companyType;
    @Basic
    @Column(name = "level")
    private Byte level;
    @Basic
    @Column(name = "show_level")
    private Byte showLevel;
    @Basic
    @Column(name = "status")
    private Byte status;
}