Commit 08abb097 authored by hongguangwu's avatar hongguangwu

人员档案相关-size

parent 593f6a11
......@@ -64,7 +64,7 @@ public class TEmployeeInfo extends BaseEntity {
*/
@Schema(description = "员工类型(字典值,0外包1派遣2代理)")
@NotNull( message = "员工类型不可为空")
@Max(value = 1, message = "员工类型不可超过1位")
@Size(max = 1, message = "员工类型不可超过1位")
private String empNatrue;
/**
......
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