package com.ruoyi.stock.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 仓库信息表
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-05-12 05:44:22
|
*/
|
@Data
|
@TableName("stock_warehouse_info")
|
@ApiModel(value = "WarehouseInfo对象", description = "仓库信息表")
|
public class WarehouseInfo implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@Schema(description = "主键ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 仓库名称
|
*/
|
@Schema(description = "仓库名称")
|
private String warehouseName;
|
|
/**
|
* 仓库位置
|
*/
|
@Schema(description = "仓库位置")
|
private String location;
|
|
/**
|
* 负责人
|
*/
|
@Schema(description = "负责人")
|
private String managerName;
|
|
/**
|
* 联系电话
|
*/
|
@Schema(description = "联系电话")
|
private String contactPhone;
|
|
/**
|
* 状态(0停用 1启用)
|
*/
|
@Schema(description = "状态(0停用 1启用)")
|
private Boolean status;
|
|
/**
|
* 备注
|
*/
|
@Schema(description = "备注")
|
private String remark;
|
|
/**
|
* 创建人ID
|
*/
|
@Schema(description = "创建人ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/**
|
* 部门ID
|
*/
|
@Schema(description = "部门ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
|
/**
|
* 创建时间
|
*/
|
@Schema(description = "创建时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
/**
|
* 更新时间
|
*/
|
@Schema(description = "更新时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
}
|