package com.ruoyi.zhushi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@TableName("inventory_category")
public class Category {

    @NotNull(message = "id不能为空")
    private String id;
    private String type;
    private String url;
    private String name;
}
