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.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

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


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

    @TableId(value = "LSBH", type = IdType.INPUT)
    @ApiModelProperty(value = "流水编号")
    private String lsbh;

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

    @ApiModelProperty(value = "用户名")
    private String yhxm;

    @ApiModelProperty(value = "用户地址")
    private String yhdz;

    @ApiModelProperty(value = "联系电话")
    private String lxdh;

    @ApiModelProperty(value = "水表厂家")
    private String sbcj;

    @ApiModelProperty(value = "水表型号")
    private String sbxh;

    @ApiModelProperty(value = "水表口径")
    private String sbkj;

    @ApiModelProperty(value = "校表说明")
    private String xbbz;

    @ApiModelProperty(value = "数表止数")
    private String sbzs;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date czsj;

    @ApiModelProperty(value = "操作人员")
    private String czry;

    @ApiModelProperty(value = "备注")
    private String bz;

}
