package com.seer.teach.mp.admin.controller.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Schema(name = "AgentEmployeeRelationReq", description = "代理商员工关联请求参数")
@Data
public class AgentEmployeeUpdateReq {

    @Schema(description = "关联ID")
    @NotNull(message = "关联ID不能为空")
    private Integer id;

    @Schema(description = "员工名称")
    private String employeeName;

    @Schema(description = "员工职位")
    private String position;

    @Schema(description = "员工密码")
    private String password;

    @Schema(description = "员工手机号")
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "请输入正确的手机号")
    private String mobile;

    @Schema(description = "员工状态：0-禁用，1-启用")
    private Integer status = 1;
}