Files
3dplan/ndplan/src/main/java/com/tky/web/entity/Enterprise.java
2025-07-21 17:30:50 +08:00

52 lines
1.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.tky.web.entity;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
/**
* 企业
*/
@Data
@NoArgsConstructor
@Entity
@Table(name="aq_bs_enterprise") // 安全_基础_企业
@org.hibernate.annotations.Table(appliesTo = "aq_bs_enterprise", comment = "企业")
public class Enterprise {
@Id
@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="aq_bs_enterprise_ID_SEQ")
@SequenceGenerator(name="aq_bs_enterprise_ID_SEQ",sequenceName="aq_bs_enterprise_ID_SEQ",allocationSize=1)
private Long id;
//@Column(columnDefinition = "varchar(255) COMMENT '企业编号' ")
private String code;
//@Column(columnDefinition = "varchar(255) COMMENT '企业名称' ")
private String name;
//@Column(columnDefinition = "varchar(255) COMMENT '企业简称' ")
private String abbr;
//@Column(columnDefinition = "double COMMENT '经度' ")
private Double lon;
//@Column(columnDefinition = "double COMMENT '纬度' ")
private Double lat;
//@Column(columnDefinition = "double COMMENT '高度' ")
private Double height;
//@Column(columnDefinition = "varchar(50) COMMENT '企业类型' ")
private String type;
//@Column(columnDefinition = "varchar(50) COMMENT '企业性质' ")
private String quality;
//@Column(columnDefinition = "int COMMENT '排序' ")
private Integer num;
//@Column(columnDefinition = "integer COMMENT '是否使用1是0删除'")
private Integer useflag;
}