package com.tofly.third.entity;

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

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("ZNB_CB_LOG")
@ApiModel(value = "ZnbCbLog对象", description = "智能表抄表明细")
public class ZnbCbLog {

    @ApiModelProperty("主键id")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

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

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

    @ApiModelProperty("抄表卡ID")
    private String cbkid;

    @ApiModelProperty("表具编号")
    private String bjbh;

    @ApiModelProperty("生产厂家")
    private String sccj;

    @ApiModelProperty("所属公司")
    private String ssgs;

    @ApiModelProperty("批次号")
    private String pch;

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

    @ApiModelProperty("操作时间")
    private LocalDateTime czsj;

    @ApiModelProperty("锁定标志（0：未锁定；1：已锁定）")
    private String clLock;

    @ApiModelProperty("处理结果（0：未处理；1：成功处理；其它见bm_cb_clbz）")
    private String clCljg;

    @ApiModelProperty("处理人员")
    private String clClry;

    @ApiModelProperty("处理时间")
    private LocalDateTime clClsj;

    @ApiModelProperty("返回代码")
    private String clRecode;

    @ApiModelProperty("返回消息")
    private String clRemessage;

    @ApiModelProperty("所属抄表片区")
    private String sscbpq;

    @ApiModelProperty("所属抄表本")
    private String sscbb;

    @ApiModelProperty("财务日期")
    private BigDecimal cwrq;

    @ApiModelProperty("上次抄表日期")
    private LocalDateTime sccbrq;

    @ApiModelProperty("上次读数")
    private BigDecimal scds;

    @ApiModelProperty("本次读数")
    private BigDecimal bcds;

    @ApiModelProperty("抄表人员编码")
    private String cbrybm;

    @ApiModelProperty("抄表人员姓名")
    private String cbryxm;

    @ApiModelProperty("抄表日期")
    private LocalDateTime cbrq;

    @ApiModelProperty("抄表-气表止度")
    private BigDecimal cbQbzs;

    @ApiModelProperty("录入人员编码")
    private String lrrybm;

    @ApiModelProperty("录入人员姓名")
    private String lrryxm;

    @ApiModelProperty("录入日期")
    private Date lrrq;

    @ApiModelProperty("购买次数")
    private Integer gmcs;

    @ApiModelProperty("剩余金额")
    private BigDecimal syje;

    @ApiModelProperty("计算标志: 0-未算费 1-已算费")
    private String jsbz;

    @ApiModelProperty("抄表止数")
    private BigDecimal cbZs;

    @ApiModelProperty("抄表水量")
    private BigDecimal cbSl;

    @ApiModelProperty("抄表频率")
    private Integer cbpl;

    @ApiModelProperty("抄表备注")
    private String cbbz;
}
