package com.dev.entity; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import javax.validation.constraints.NotNull; import org.hibernate.annotations.DynamicUpdate; import com.app.base.entity.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * 报表-组成 * */ @Entity(name = "ApiPart") @Table(name = ApiPart.TABLE_NAME) @DynamicUpdate @ApiModel public class ApiPart extends BaseEntity { private static final long serialVersionUID = 4625660587007894370L; public static final String TABLE_NAME = "api_part"; /** * 报表id */ @ApiModelProperty(name = "pkApiCode", value = "报表ID") @NotNull protected Long pkApiCode; /** * 序号 */ @ApiModelProperty(name = "bsIndex", value = "序号") @Column(length = 100) protected Integer bsIndex; /** * 列宽占比 */ @ApiModelProperty(name = "bsWidth", value = "列宽占比") @Column(length = 100) protected BigDecimal bsWidth; /** * 高度占比 */ @ApiModelProperty(name = "bsHeight", value = "高度占比") @Column(length = 100) protected BigDecimal bsHeight; /** * 名称 */ @ApiModelProperty(name = "bsName", value = "名称") @Column(length = 300) protected String bsName; /** * 描述 */ @ApiModelProperty(name = "bsDes", value = "描述") @Column(length = 500) protected String bsDes; /** * 状态 */ @ApiModelProperty(name = "bsStatus", value = "状态") @Column(length = 500) protected Integer bsStatus; @ApiModelProperty(name = "bsSql", value = "sql") @Column(length = 500) protected String bsSql; /** * 存储过程 */ @ApiModelProperty(name = "bsProcedure", value = "存储过程") @Column(length = 100) protected String bsProcedure; /** * 传入参数 */ @ApiModelProperty(name = "bsParamIns", value = "传入参数") @Column(length = 100) protected String bsParamIns; /** * 传出参数 */ @ApiModelProperty(name = "bsParamOut", value = "传出参数") @Column(length = 100) protected String bsParamOut; /** * 传出参数类型 */ @ApiModelProperty(name = "bsParamOutType", value = "传出参数类型") @Column(length = 10) protected Integer bsParamOutType; public String getBsName() { return bsName; } public void setBsName(String bsName) { this.bsName = bsName; } public String getBsDes() { return bsDes; } public void setBsDes(String bsDes) { this.bsDes = bsDes; } public Integer getBsStatus() { return bsStatus; } public void setBsStatus(Integer bsStatus) { this.bsStatus = bsStatus; } public Long getPkApiCode() { return pkApiCode; } public void setPkApiCode(Long pkApiCode) { this.pkApiCode = pkApiCode; } public String getBsSql() { return bsSql; } public void setBsSql(String bsSql) { this.bsSql = bsSql; } public String getBsProcedure() { return bsProcedure; } public void setBsProcedure(String bsProcedure) { this.bsProcedure = bsProcedure; } public String getBsParamIns() { return bsParamIns; } public void setBsParamIns(String bsParamIns) { this.bsParamIns = bsParamIns; } public String getBsParamOut() { return bsParamOut; } public void setBsParamOut(String bsParamOut) { this.bsParamOut = bsParamOut; } public Integer getBsParamOutType() { return bsParamOutType; } public void setBsParamOutType(Integer bsParamOutType) { this.bsParamOutType = bsParamOutType; } public Integer getBsIndex() { return bsIndex; } public void setBsIndex(Integer bsIndex) { this.bsIndex = bsIndex; } public BigDecimal getBsWidth() { return bsWidth; } public void setBsWidth(BigDecimal bsWidth) { this.bsWidth = bsWidth; } public BigDecimal getBsHeight() { return bsHeight; } public void setBsHeight(BigDecimal bsHeight) { this.bsHeight = bsHeight; } }