package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.*;

/**
 * 仓库信息实体类
 */
@Data
@Table(name = "xfsg_warehouse_info")
public class WarehouseInfoDO {

    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    /**
     * 仓库编码
     */
    @Column(name = "warehouse_code")
    @ApiModelProperty(value = "仓库编码")
    private String warehouseCode;

    /**
     * 仓库名称
     */
    @Column(name = "warehouse_name")
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    /**
     * 仓库备注
     */
    @Column(name = "warehouse_remark")
    @ApiModelProperty(value = "仓库备注")
    private String warehouseRemark;

    /**
     * 仓库分支机构
     */
    @Column(name = "warehouse_branches")
    @ApiModelProperty(value = "仓库分支机构")
    private String warehouseBranches;

    /**
     * 是否删除 (0: 否, 1: 是)
     */
    @Column(name = "deleted")
    private Integer deleted;
}