Commit 5e10f0f2 authored by zhangyi's avatar zhangyi

入参非空校验

parent 178b2c1c
package com.dsk.common.core.domain.model; package com.dsk.common.core.domain.model;
import javax.validation.constraints.NotNull;
public class EnterpriseBody public class EnterpriseBody
{ {
/** /**
* 企业id * 企业id
*/ */
@NotNull(message = "企业id不能为空")
private String companyId; private String companyId;
public String getCompanyId() { public String getCompanyId() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment