package com.fkzy.warn.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 企业案件地域信息汇总
 * @author zhangjing
 * @date 2024/12/05 14:07
 * @description
 */
@Data
@TableName("t_enterprise_province")
public class EnterpriseProvince extends BaseField{

    /**
     * id
     */
    @ApiModelProperty("id")
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 统一社会信用代码
     */
    @ApiModelProperty("统一社会信用代码")
    private String creditCode;
    /**
     * 省份
     */
    @ApiModelProperty("省份")
    private String province;
    /**
     * 数量
     */
    @ApiModelProperty("数量")
    private Integer count;
    /**
     * 金额
     */
    @ApiModelProperty("金额")
    private BigDecimal amount;
    public EnterpriseProvince() {

    }
    public EnterpriseProvince(String creditCode,String province, Integer count, BigDecimal amount) {
        this.creditCode = creditCode;
        this.province = province;
        this.count = count;
        this.amount = amount;
    }
}
