package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2026-01-05 14:12:18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserExpandInfoAddCmd extends Command {
    @ApiModelProperty(value = "岗位名称", name = "phone", required = true)
    @NotEmpty(message = "岗位名称不能为空")
    private String phone;

    @ApiModelProperty(value = "是否流动人员，1-流动，0-固定人员", name = "flowFlag", required = true)
    @NotNull(message = "是否流动人员，1-流动，0-固定人员不能为空")
    private Integer flowFlag;

}

