package com.crm.rely.backend.core.entity.account.belong;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;

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

/**
 * Created by max on 2020/7/10.
 */
@Data
public class AccountBelongChangeAddEntity extends BaseAddEntity {

    @NotNull(message = "new_agent_empty")
    @Min(value = 1, message = "invalid_param")
    private Long newAgentId;
    @NotNull(message = "login_empty")
    @Min(value = 1, message = "invalid_param")
    private Long login;
    @Size(max = 200, message = "apply_desc_oversize")
    private String applyDesc;

    private Long oldAgentId;

    private Integer status;

}
