package com.tofly.feesapi.sfgl.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.List;
import java.util.stream.Collectors;


/**
 * 票据编号表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "YY_PJBH", resultMap = "yyPjbhMap")
@KeySequence("YY_PJBH")
@ApiModel
public class YyPjbh extends Model<YyPjbh> {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 收费人员编码
     */
    @ApiModelProperty(value = "收费人员编码")
    private BigDecimal sfrybm;

    /**
     * 财务日期yyyyMM
     */
    @ApiModelProperty(value = "财务日期yyyyMM")
    private String cwrq;

    /**
     * 票据号
     */
    @ApiModelProperty(value = "票据号")
    private BigDecimal pjh;

}
