package com.junmp.jyzb.api.bean.req;

import com.junmp.v2.common.bean.request.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class UpdateWarehouseAreaReq extends BaseRequest {
    @NotBlank(message = "地区主键不能为空", groups = {edit.class, delete.class, detail.class})
    private String areaId;
    @NotBlank(message = "区域名称不能为空", groups = {add.class,edit.class})
    private String areaName;

    private Long orgId;

    @NotBlank(message = "仓库id不能为空", groups = {add.class,edit.class})
    private String warehouseId;

//    @NotBlank(message = "照片不能为空", groups = {add.class,edit.class})
    private String photo;

    private Date createTime;

    private Date updateTime;

    private String createUser;

    private String updateUser;
}
