package com.tofly.feesapi.bjgl.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


import java.util.List;
import java.util.stream.Collectors;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "YH_BJFL_FB", resultMap = "yhBjflFbMap")
@KeySequence("YH_BJFL_FB")
@ApiModel
public class YhBjflFb extends Model<YhBjflFb> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "分表ID")
    private String id;

    @ApiModelProperty(value = "主表ID")
    private String zbId;

    @ApiModelProperty(value = "主表用户编号")
    private String zbYhbh;

    @ApiModelProperty(value = "主表抄表卡号")
    private String zbCbkh;

    @ApiModelProperty(value = "用户编号")
    private String yhbh;

    @ApiModelProperty(value = "抄表卡号")
    private String cbkh;

    @ApiModelProperty(value = "表具用途1总分分表,2子母表")
    private String typeId;
}
