package com.changhong.epc.bean.admin.org; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Table; import com.changhong.epc.constter.base.BaseBean; import lombok.Data; import lombok.EqualsAndHashCode; @Table(name="org_info") @Data @EqualsAndHashCode(callSuper=true) public class OrgInfo extends BaseBean implements Serializable { private static final long serialVersionUID = 1L; /** * 机构code * 表字段:code */ @Column(name="code") private String code; /** * 类型 * 表字段:type_code */ @Column(name="type") private String type; /** * 机构名称 * 表字段:org_name */ @Column(name="name") private String name; /** * 父机构code * 表字段:parent_code */ @Column(name="parent_code") private String parentCode; }