/*
 * Author: wangjian
 * 生成entity
 */
package com.tofly.dzfp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 预开发票记录
 *
 * @author admin
 * @date Tue Apr 01 00:00:00 GMT+08:00 2025
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "EI_YKFP_LOG", resultMap = "eiYkfpLogMap")
@KeySequence("EI_YKFP_LOG")
@ApiModel
public class EiYkfpLog extends Model<EiYkfpLog> {
    private static final long serialVersionUID = 1L;

    /**
     * 污水费发票号
     */
    @ApiModelProperty(value = "污水费发票号")
    private String wsfFph;
    /**
     * 水资源费发票号
     */
    @ApiModelProperty(value = "水资源费发票号")
    private String szyfFph;
    /**
     * 发票关联号
     */
    @ApiModelProperty(value = "发票关联号")
    private String fpglh;
    /**
     * 预开发票ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "预开发票ID")
    private String id;
    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号")
    private String yhbh;
    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名")
    private String yhxm;
    /**
     * 开票金额
     */
    @ApiModelProperty(value = "开票金额")
    private Double kpje;
    /**
     * 销账金额
     */
    @ApiModelProperty(value = "销账金额")
    private Double xzje;
    /**
     * 开票时间
     */
    @ApiModelProperty(value = "开票时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date kpsj;
    /**
     * 开票人员编码
     */
    @ApiModelProperty(value = "开票人员编码")
    private String kprybm;
    /**
     * 开票人员姓名
     */
    @ApiModelProperty(value = "开票人员姓名")
    private String kpryxm;
    /**
     * 销账人员编码
     */
    @ApiModelProperty(value = "销账人员编码")
    private String xzrybm;
    /**
     * 销账人员姓名
     */
    @ApiModelProperty(value = "销账人员姓名")
    private String xzryxm;
    /**
     * 销账时间
     */
    @ApiModelProperty(value = "销账时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date xzsj;
    /**
     * 收费标志
     */
    @ApiModelProperty(value = "收费标志")
    private String sfbz;
    /**
     * 收费类型
     */
    @ApiModelProperty(value = "收费类型")
    private String sflx;
    /**
     * 发票类型
     */
    @ApiModelProperty(value = "发票类型")
    private String fplx;
    /**
     * 发票组
     */
    @ApiModelProperty(value = "发票组")
    private String fpz;
    /**
     * 发票号
     */
    @ApiModelProperty(value = "发票号")
    private String fph;
    /**
     * 是否合票
     */
    @ApiModelProperty(value = "是否合票")
    private String ishp;

}
