package com.izouma.jmrh.domain.stat;

import com.izouma.jmrh.domain.BaseEntity;
import com.izouma.jmrh.enums.ChartType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import java.security.PrivateKey;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("汇总数据")
public class SummaryState extends BaseEntity {
    @ApiModelProperty("表名")
    private String title;

    @ApiModelProperty("南昌市")
    private String val1;

    @ApiModelProperty("九江市")
    private String val2;

    @ApiModelProperty("景德镇市")
    private String val3;

    @ApiModelProperty("萍乡市")
    private String val4;

    @ApiModelProperty("新余市")
    private String val5;

    @ApiModelProperty("鹰潭市")
    private String val6;

    @ApiModelProperty("赣州市")
    private String val7;

    @ApiModelProperty("宜春市")
    private String val8;

    @ApiModelProperty("上饶市")
    private String val9;

    @ApiModelProperty("吉安市")
    private String val10;

    @ApiModelProperty("抚州市")
    private String val11;

    @OneToOne
    @JoinColumn(name = "type")
    @ApiModelProperty(name = "分类")
    private SummaryType type;

    @ApiModelProperty("y轴")
    private Integer yAxisIndex;

    @ApiModelProperty("图表类型")
    private ChartType chartType;

}
