霸王餐修改
This commit is contained in:
parent
7654096a32
commit
67f1db23ae
|
|
@ -5,6 +5,7 @@ import com.mybatisflex.annotation.Id;
|
|||
import com.mybatisflex.annotation.KeyType;
|
||||
import jakarta.validation.constraints.Max;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
|
@ -35,7 +36,7 @@ public class MkDrainageConfigDTO implements Serializable {
|
|||
/**
|
||||
* 内容
|
||||
*/
|
||||
@Max(value = 50, message = "内容最大长度为50")
|
||||
@Length(max = 50, message = "内容最大长度为50")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue