package com.org.hktshop.entity.encapsulation;

import com.org.hktshop.base.BaseModel;
import com.org.hktshop.target01.TableField;
import com.org.hktshop.target01.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("材料表")
@TableName("hkt_fcdata.fc_material")
public class FcMaterial extends BaseModel {

    @ApiModelProperty("父级id")
    @TableField("parent_id")
    private String parentId;

    @ApiModelProperty("材料名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("物料层级 2 表示子类")
    @TableField("level")
    private Integer level;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private String updateTime;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;
}
