package com.tofly.feesapi.sfgl.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("ZNB_CSJS_LOG")
@ApiModel(value = "ZnbCsjsLog对象", description = "智能表抄收结算明细")

public class ZnbCsjsLog implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("抄表明细ID，对应znb_cb_log.id")
    @TableField("qflsbh")
    @ExcelProperty("抄表明细ID")
    private String cbLogId;

    @ApiModelProperty("抄表卡ID，对应yh_cbkxx.id")
    @ExcelProperty("抄表卡ID")
    private String cbkid;

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

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

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

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

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

    @ApiModelProperty("用水月份")
    @ExcelProperty("用水月份")
    private String ysyf;

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

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

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

    @ApiModelProperty("加减量")
    @ExcelProperty("加减量")
    private BigDecimal jjl;

    @ApiModelProperty("水量")
    @ExcelProperty("水量")
    private BigDecimal sl;

    @ApiModelProperty("水价编码")
    @ExcelProperty("水价编码")
    private String sjbm;

    @ApiModelProperty("水价")
    @ExcelProperty("水价")
    private BigDecimal sj;

    @ApiModelProperty("水费")
    @ExcelProperty("水费")
    private BigDecimal sf;

    @ApiModelProperty("污水费单价")
    @ExcelProperty("污水费单价")
    private BigDecimal wsfdj;

    @ApiModelProperty("污水费")
    @ExcelProperty("污水费")
    private BigDecimal wsf;

    @ApiModelProperty("水价编码2（一表多价时存储）")
    @ExcelProperty("水价编码2")
    private String sjbm1;

    @ApiModelProperty("水价2（一表多价时存储）")
    @ExcelProperty("水价2")
    private BigDecimal sj1;

    @ApiModelProperty("水量2（一表多价时存储）")
    @ExcelProperty("水量2")
    private BigDecimal sl1;

    @ApiModelProperty("水费2（一表多价时存储）")
    @ExcelProperty("水费2")
    private BigDecimal sf1;

    @ApiModelProperty("污水费单价2")
    @ExcelProperty("污水费单价2")
    private BigDecimal wsfdj1;

    @ApiModelProperty("污水费2")
    @ExcelProperty("污水费2")
    private BigDecimal wsf1;

    @ApiModelProperty("水价编码3（一表多价时存储）")
    @ExcelProperty("水价编码3")

    private String sjbm2;

    @ApiModelProperty("水价3（一表多价时存储）")
    @ExcelProperty("水价3")
    private BigDecimal sj2;

    @ApiModelProperty("水量3（一表多价时存储）")
    @ExcelProperty("水量3")
    private BigDecimal sl2;

    @ApiModelProperty("水费3（一表多价时存储）")
    @ExcelProperty("水费3")
    private BigDecimal sf2;

    @ApiModelProperty("污水费单价3")
    @ExcelProperty("污水费单价3")
    private BigDecimal wsfdj2;

    @ApiModelProperty("污水费3")
    @ExcelProperty("污水费3")
    private BigDecimal wsf2;

    @ApiModelProperty("水价编码4（一表多价时存储）")
    @ExcelProperty("水价编码4")
    private String sjbm3;

    @ApiModelProperty("水价4（一表多价时存储）")
    @ExcelProperty("水价4")
    private BigDecimal sj3;

    @ApiModelProperty("水量4（一表多价时存储）")
    @ExcelProperty("水量4")
    private BigDecimal sl3;

    @ApiModelProperty("水费4（一表多价时存储）")
    @ExcelProperty("水费4")
    private BigDecimal sf3;

    @ApiModelProperty("污水费单价4")
    @ExcelProperty("污水费单价4")
    private BigDecimal wsfdj3;

    @ApiModelProperty("污水费4")
    private BigDecimal wsf3;

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

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

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

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

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

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

    @ApiModelProperty("计算日期")
    @ExcelProperty("计算日期")
    private Date jsrq;

    @ApiModelProperty("应收水量（sl+sl1+sl2+sl3）")
    @ExcelProperty("应收水量")
    private BigDecimal yssl;

    @ApiModelProperty("应收水费（sf+sf1+sf2+sf3）")
    @ExcelProperty("应收水费")
    private BigDecimal yssf;

    @ApiModelProperty("应收污水费（wsf+wsf1+wsf2+wsf3）")
    @ExcelProperty("应收污水费")
    private BigDecimal yswsf;

    @ApiModelProperty("应收垃圾费")
    @ExcelProperty("应收垃圾费")
    private BigDecimal ysljf;

    @ApiModelProperty("应收其它费")
    @ExcelProperty("应收其它费")
    private BigDecimal ysqt;

    @ApiModelProperty("应收金额=应收水费+应收污水费+应收垃圾费+应收其他费（yssf+yswsf+ysLJF+ysqt）")
    @ExcelProperty("应收金额")
    private BigDecimal ysje;

    @ExcelIgnore
    @ApiModelProperty("阶梯1水量")
    private BigDecimal jt1sl;

    @ApiModelProperty("阶梯1水价")
    @ExcelIgnore
    private BigDecimal jt1sj;

    @ApiModelProperty("阶梯1水费")
    @ExcelIgnore
    private BigDecimal jt1sf;

    @ApiModelProperty("阶梯2水量")
    @ExcelIgnore
    private BigDecimal jt2sl;

    @ApiModelProperty("阶梯2水价")
    @ExcelIgnore
    private BigDecimal jt2sj;

    @ApiModelProperty("阶梯2水费")
    @ExcelIgnore
    private BigDecimal jt2sf;

    @ApiModelProperty("阶梯3水量")
    @ExcelIgnore
    private BigDecimal jt3sl;

    @ApiModelProperty("阶梯3水价")
    @ExcelIgnore
    private BigDecimal jt3sj;

    @ApiModelProperty("阶梯3水费")
    @ExcelIgnore
    private BigDecimal jt3sf;

    @ApiModelProperty("阶梯4水量")
    @ExcelIgnore
    private BigDecimal jt4sl;

    @ApiModelProperty("阶梯4水价")
    @ExcelIgnore
    private BigDecimal jt4sj;

    @ApiModelProperty("阶梯4水费")
    @ExcelIgnore
    private BigDecimal jt4sf;

    @ApiModelProperty("滞纳金天数")
    @ExcelIgnore
    private BigDecimal znjts;

    @ApiModelProperty("滞纳金费率")
    @ExcelIgnore
    private BigDecimal znjfl;

    @ApiModelProperty("滞纳金")
    @ExcelIgnore
    private BigDecimal znj;

    @ApiModelProperty("滞纳金计算日期")
    @ExcelIgnore
    private Date znjjsrq;

    @ApiModelProperty("抄表计算标志: 0-未计算 1-已结算")
    @ExcelIgnore
    private String cbjsbz;

    @ApiModelProperty("抄表计算方式（正常单价计费，一表多价计费，阶梯计费, 一表多价含阶梯；用于查询显示）")
    @ExcelIgnore
    private String cbjsfs;

    @ApiModelProperty("备注")
    @ExcelIgnore
    private String bz;

    @ApiModelProperty("抄表类型bm_cblx.bm")
    @ExcelIgnore
    private String cblx;

    @ApiModelProperty("抄表方式:bm_cbfs")
    @ExcelIgnore
    private String cbfs;

    @ApiModelProperty("旧表止读")
    @ExcelIgnore
    private BigDecimal jbzd;

    @ApiModelProperty("新表起度")
    @ExcelIgnore
    private BigDecimal xbqd;

    @ApiModelProperty("抄表数据来源（0手工抄表，1抄表机抄表，2移动APP抄表，3远传抄表，4批量导入抄表，5换表抄）")
    @ExcelIgnore
    private String cbly;

    @ApiModelProperty("抄表次数")
    @ExcelIgnore
    private Integer cbcs;

    @ApiModelProperty("费用类型编码：bm_fylx")
    @ExcelIgnore
    private String fylx;

    @ApiModelProperty("冲红标志：0未冲红，1已冲红，2红票")
    @ExcelIgnore
    private String chbz;

    @ApiModelProperty("冲红ID，红票ID号")
    @ExcelIgnore
    private String chid;

    @ApiModelProperty("冲红时间")
    @ExcelIgnore
    private Date chsj;

    @ApiModelProperty("冲红人员编码")
    @ExcelIgnore
    private String chrybm;

    @ApiModelProperty("冲红人员姓名")
    @ExcelIgnore
    private String chryxm;

    @ApiModelProperty("冲红类型  0 应收冲红，1 收费冲红")
    @ExcelIgnore
    private String chlx;

    @ApiModelProperty("收费标志,0未收 1已收 4不收费")
    @ExcelIgnore
    private String sfbz;

    @ApiModelProperty("收费日期/结算时间")
    @ExcelIgnore
    private Date sfrq;

    @ApiModelProperty("用户姓名")
    @ExcelProperty("用户姓名")
    private String yhxm;

    @ApiModelProperty("收费流水编号")
    @ExcelIgnore
    private String sflsbh;

    @ApiModelProperty("年度累计量(计算前）")
    @ExcelIgnore
    private BigDecimal jtzqljlJsq;

    @ApiModelProperty("年度累计量")
    @ExcelIgnore
    private BigDecimal jtzqljl;

    @ApiModelProperty("阶梯标准（多人口阶梯）编码，bm_jtrk")
    @ExcelIgnore
    private String jtrk;

    @ApiModelProperty("水价2.阶梯1水量")
    @ExcelIgnore
    private BigDecimal sj1Jt1sl;

    @ApiModelProperty("水价2.阶梯1水价")
    @ExcelIgnore
    private BigDecimal sj1Jt1sj;

    @ApiModelProperty("水价2.阶梯1水费")
    @ExcelIgnore
    private BigDecimal sj1Jt1sf;

    @ApiModelProperty("水价2.阶梯2水量")
    @ExcelIgnore
    private BigDecimal sj1Jt2sl;

    @ApiModelProperty("水价2.阶梯2水价")
    @ExcelIgnore
    private BigDecimal sj1Jt2sj;

    @ApiModelProperty("水价2.阶梯2水费")
    @ExcelIgnore
    private BigDecimal sj1Jt2sf;

    @ApiModelProperty("水价2.阶梯3水量")
    @ExcelIgnore
    private BigDecimal sj1Jt3sl;

    @ApiModelProperty("水价2.阶梯3水价")
    @ExcelIgnore
    private BigDecimal sj1Jt3sj;

    @ApiModelProperty("水价2.阶梯3水费")
    @ExcelIgnore
    private BigDecimal sj1Jt3sf;

    @ApiModelProperty("水价2.阶梯4水量")
    @ExcelIgnore
    private BigDecimal sj1Jt4sl;

    @ApiModelProperty("水价2.阶梯4水费")
    @ExcelIgnore
    private BigDecimal sj1Jt4sf;

    @ApiModelProperty("水价2.阶梯4水价")
    @ExcelIgnore
    private BigDecimal sj1Jt4sj;

    @ApiModelProperty("水价3.阶梯1水量")
    @ExcelIgnore
    private BigDecimal sj2Jt1sl;

    @ApiModelProperty("水价3.阶梯1水价")
    @ExcelIgnore
    private BigDecimal sj2Jt1sj;

    @ApiModelProperty("水价3.阶梯1水费")
    @ExcelIgnore
    private BigDecimal sj2Jt1sf;

    @ApiModelProperty("水价3.阶梯2水量")
    @ExcelIgnore
    private BigDecimal sj2Jt2sl;

    @ApiModelProperty("水价3.阶梯2水价")
    @ExcelIgnore
    private BigDecimal sj2Jt2sj;

    @ApiModelProperty("水价3.阶梯2水费")
    @ExcelIgnore
    private BigDecimal sj2Jt2sf;

    @ApiModelProperty("水价3.阶梯3水量")
    @ExcelIgnore
    private BigDecimal sj2Jt3sl;

    @ApiModelProperty("水价3.阶梯3水价")
    @ExcelIgnore
    private BigDecimal sj2Jt3sj;

    @ApiModelProperty("水价3.阶梯3水费")
    @ExcelIgnore
    private BigDecimal sj2Jt3sf;

    @ApiModelProperty("水价3.阶梯4水量")
    @ExcelIgnore
    private BigDecimal sj2Jt4sl;

    @ApiModelProperty("水价3.阶梯4水费")
    @ExcelIgnore
    private BigDecimal sj2Jt4sf;

    @ApiModelProperty("水价3.阶梯4水价")
    @ExcelIgnore
    private BigDecimal sj2Jt4sj;

    @ApiModelProperty("所属营业所")
    @ExcelIgnore
    private String ssyys;

    @ApiModelProperty("费用类型名称")
    @ExcelIgnore
    private String fylxmc;

    @ApiModelProperty("是否补差（0：否；1：是）")
    @ExcelIgnore
    private String sfbc;

    @ApiModelProperty("开票标志（0未开票 ,1已开票）")
    @ExcelProperty("开票标志")
    private String kpbz;

    @ApiModelProperty("开票日期")
    @ExcelIgnore
    private Date kprq;

    @ApiModelProperty("审核人员")
    @ExcelIgnore
    private String shry;

    @ApiModelProperty("垃圾费单价")
    @ExcelIgnore
    private BigDecimal ljfdj;

    @ApiModelProperty("垃圾费")
    @ExcelIgnore
    private BigDecimal ljf;

    @ApiModelProperty("垃圾费单价1")
    @ExcelIgnore
    private BigDecimal ljfdj1;

    @ApiModelProperty("垃圾费1")
    @ExcelIgnore
    private BigDecimal ljf1;

    @ApiModelProperty("垃圾费单价2")
    @ExcelIgnore
    private BigDecimal ljfdj2;

    @ApiModelProperty("垃圾费2")
    @ExcelIgnore
    private BigDecimal ljf2;

    @ApiModelProperty("垃圾费单价3")
    @ExcelIgnore
    private BigDecimal ljfdj3;

    @ApiModelProperty("垃圾费3")
    @ExcelIgnore
    private BigDecimal ljf3;

    @ApiModelProperty("实收滞纳金")
    @ExcelProperty("实收滞纳金")
    private BigDecimal ssznj;

    @ApiModelProperty("实收总金额:本次实际收取的金额，")
    @ExcelProperty("实收总金额")
    private BigDecimal sszje;

    @ApiModelProperty("上次余额")
    @ExcelProperty("上次余额")
    private BigDecimal scye;

    @ApiModelProperty("本次预存")
    @ExcelProperty("本次预存")
    private BigDecimal bcyc;

    @ApiModelProperty("本次扣减=实收水费+实收污水费+实收滞纳金+垃圾费+其它费")
    @ExcelProperty("本次扣减")
    private BigDecimal bckj;

    @ApiModelProperty("本次余额=上次余额+实收总金额或者本次预存-本次扣减")
    @ExcelProperty("本次余额")
    private BigDecimal bcye;

    @ApiModelProperty("收费类型：bm_sflx")
    @ExcelProperty("收费类型")
    private String sflx;

    @ApiModelProperty("收费人员编码")
    @ExcelProperty("收费人员编码")
    private String sfrybm;

    @ApiModelProperty("收费人员姓名")
    @ExcelProperty("收费人员姓名")
    private String sfryxm;

    @ApiModelProperty("付费方式：bm_fffs")
    @ExcelProperty("付费方式")
    private String fffs = "07";

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


    @ApiModelProperty("水资源税")
    @ExcelProperty("水资源税")
    private BigDecimal szys;

    @ApiModelProperty("应收水资源税")
    @ExcelProperty("应收水资源税")
    private BigDecimal ysszys;

    /**
     *  页面新增展示字段
     */

    @TableField(exist = false)
    @ApiModelProperty("生产厂家")
    private String sccj;

    @TableField(exist = false)
    @ApiModelProperty("操作时间")
    private LocalDateTime czsj;

    @TableField(exist = false)
    @ApiModelProperty("处理时间")
    private LocalDateTime clClsj;

    @ApiModelProperty("计算标志")
    private String jsbz;

    @ApiModelProperty("水表生产厂家")
    private String sbsccj;

}
