package com.hzs.common.domain.sale.wares;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单位配置表
 * </p>
 *
 * @author hzs
 * @since 2023-03-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_UNIT")
@KeySequence("BD_UNIT_SEQ")
public class BdUnit extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 翻译健
     */
    @TableField("PK_TRANSACTION")
    private Integer pkTransaction;

    /**
     * 名称
     */
    @Excel(name = "单位名称")
    @TableField("NAME")
    private String name;

    /**
     * 排序
     */
    @Excel(name = "单位排序")
    @TableField("SORT")
    private Integer sort;


}
