skyouc
3 天以前 f84b3af27f34be7e22990c54612f3110559c7710
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Warehouse.java
@@ -4,6 +4,9 @@
import java.text.SimpleDateFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -22,6 +25,7 @@
@Data
@TableName("man_warehouse")
@Accessors(chain = true)
@ApiModel(value = "Warehouse", description = "仓库基础信息")
public class Warehouse implements Serializable {
@@ -118,6 +122,7 @@
     */
    @ApiModelProperty(value= "添加时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
@@ -131,6 +136,7 @@
     */
    @ApiModelProperty(value= "修改时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
@@ -146,6 +152,14 @@
    @ApiModelProperty("库区")
    private List<WarehouseAreas> children;
    @TableField(exist = false)
    private Integer flagWare;
    @TableField(exist = false)
    @ApiModelProperty("用于仓库树状图,唯一索引")
    private Long index;
    public Warehouse() {}
    public Warehouse(String name,String code,String factory,String address,String longitude,String latgitude,Double length,Double width,Double height,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {