package com.ylx.massage.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 商户状态管理变更参数
 */
@Data
public class MaTechnicianStatusChangeDTO {

    @ApiModelProperty(value = "商户管理状态：0-正常，1-限制接单，2-冻结，3-注销", required = true)
    @NotNull(message = "商户状态不能为空")
    private Integer merchantStatus;

    @ApiModelProperty(value = "变更原因", required = true)
    @NotBlank(message = "变更原因不能为空")
    @Size(max = 500, message = "变更原因长度不能超过500个字符")
    private String reasonChange;
}
