package jnpf.model.franchisee.req;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 加盟商自定义名称更新请求参数。
 */
@Data
public class FranchiseeCustomNameUpdateReq implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自定义名称。
     */
    @NotBlank(message = "customName cannot be blank")
    @Length(max = 100, message = "customName length cannot exceed 100")
    private String customName;
}
