package com.chaozhanggui.admin.system.model;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class CreateAgencyReq implements Serializable {

    @NotNull(message = "机构名称不允许为空")
    private String  agencyName;


    @NotNull(message = "机构账号不允许为空")
    private String angencyCode;

    @NotNull(message = "密码不允许为空")
    private String passowrd;

    @NotNull(message = "推广费率不允许为空")
    private BigDecimal fee;

    @NotNull(message = "机构类型不允许为空")
    private String userType;

    @NotNull(message = "联系方式不允许为空")
    private String phone;
}
