package thyyxxk.webserver.entity.outpatient.thmz.req;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class MzEmrAddDirReq extends MzEmrBasicReq {
    @NotNull(message = "父节点不能为空")
    @NotBlank(message = "父节点不能为空")
    private String parent;

    @NotNull(message = "目录名称不能为空")
    @NotBlank(message = "目录名称不能为空")
    private String name;
}
