package com.dev.entity; import com.app.base.entity.BaseEntity; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.hibernate.annotations.DynamicUpdate; import javax.persistence.*; import java.util.Date; /** * 报表 * */ @Entity(name = "ApiCode") @Table(name = ApiCode.TABLE_NAME) @DynamicUpdate @ApiModel public class ApiCode extends BaseEntity { private static final long serialVersionUID = 4625660587007894370L; public static final String TABLE_NAME = "api_code"; /** * 编号 */ @ApiModelProperty(name = "bsCode", value = "编号") @Column(length = 20) protected String bsCode; /** * 名称 */ @ApiModelProperty(name = "bsName", value = "名称") @Column(length = 30) protected String bsName; /** * 描述 */ @ApiModelProperty(name = "bsDes", value = "描述") @Column(length = 500) protected String bsDes; /** * 状态 */ @ApiModelProperty(name = "bsStatus", value = "状态") @Column(length = 500) protected Integer bsStatus; public String getBsCode() { return bsCode; } public void setBsCode(String bsCode) { this.bsCode = bsCode; } 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; } }