package com.yh.saas.platform.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@TableName("notification_business_code_info")
@EqualsAndHashCode(callSuper = true)
public class NotificationBusinessCode extends BaseModel<NotificationBusinessCode> {

    /**
     * 主键id
     */
    private String id;

    /**
     * 业务编码
     */
    private String businessCode;

    /**
     * 单据名称
     */
    private String nameBill;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    /**
     * 查询字段
     */
    public static class QueryFiled {

        public static final String BUSINESS_CODE = "business_code";

    }
}
