package com.unis.crk.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单据序号生成表，中间表，专用于生成各种单据号
 * </p>
 *
 * @author TangSong
 * @since 2021-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Billnonew对象", description="单据序号生成表，中间表，专用于生成各种单据号")
public class Billnonew implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "数据ID")
    @TableId(value = "NewId", type = IdType.UUID)
    private String NewId;

    @ApiModelProperty(value = "单位ID")
    @TableField("UnitId")
    private String UnitId;


    @ApiModelProperty(value = "表名")
    @TableField("TABLE_NAME")
    private String tableName;

    @ApiModelProperty(value = "字段名")
    @TableField("FIELD_NAME")
    private String fieldName;

    @ApiModelProperty(value = "最新单据序号")
    @TableField("BillNo")
    private String BillNo;


}
