package com.ruoyi.web.modules.trading.domain;

import java.math.BigDecimal;
import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商 biz_supplier
 */
public class BizSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private String supplierCode;

    @NotBlank(message = "供应商名称不能为空")
    @Size(min = 1, max = 20, message = "供应商名称长度为1到20个字符")
    private String supplierName;

    @NotNull(message = "供应商类型不能为空")
    private Integer supplierType;

    private String supplierTypeName;

    @NotBlank(message = "身份识别号不能为空")
    private String identityNo;

    @NotBlank(message = "联系方式不能为空")
    private String contactPhone;

    @Size(max = 50, message = "经营地点不能超过50个字符")
    private String businessLocation;

    private List<String> vehiclePlates;

    @JsonIgnore
    private String vehiclePlatesJson;

    @NotNull(message = "收费方式不能为空")
    private Integer feeMethod;

    private String feeMethodName;

    private BigDecimal feeStandard;

    private BigDecimal transactionFeeRate;

    private BigDecimal managementFeeRate;

    private Integer accountAssigned;

    private Long sysUserId;

    private String assignedLoginName;

    private String delFlag;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getSupplierCode()
    {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode)
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName()
    {
        return supplierName;
    }

    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public Integer getSupplierType()
    {
        return supplierType;
    }

    public void setSupplierType(Integer supplierType)
    {
        this.supplierType = supplierType;
    }

    public String getSupplierTypeName()
    {
        return supplierTypeName;
    }

    public void setSupplierTypeName(String supplierTypeName)
    {
        this.supplierTypeName = supplierTypeName;
    }

    public String getIdentityNo()
    {
        return identityNo;
    }

    public void setIdentityNo(String identityNo)
    {
        this.identityNo = identityNo;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getBusinessLocation()
    {
        return businessLocation;
    }

    public void setBusinessLocation(String businessLocation)
    {
        this.businessLocation = businessLocation;
    }

    public List<String> getVehiclePlates()
    {
        return vehiclePlates;
    }

    public void setVehiclePlates(List<String> vehiclePlates)
    {
        this.vehiclePlates = vehiclePlates;
    }

    public String getVehiclePlatesJson()
    {
        return vehiclePlatesJson;
    }

    public void setVehiclePlatesJson(String vehiclePlatesJson)
    {
        this.vehiclePlatesJson = vehiclePlatesJson;
    }

    public Integer getFeeMethod()
    {
        return feeMethod;
    }

    public void setFeeMethod(Integer feeMethod)
    {
        this.feeMethod = feeMethod;
    }

    public String getFeeMethodName()
    {
        return feeMethodName;
    }

    public void setFeeMethodName(String feeMethodName)
    {
        this.feeMethodName = feeMethodName;
    }

    public BigDecimal getFeeStandard()
    {
        return feeStandard;
    }

    public void setFeeStandard(BigDecimal feeStandard)
    {
        this.feeStandard = feeStandard;
    }

    public BigDecimal getTransactionFeeRate()
    {
        return transactionFeeRate;
    }

    public void setTransactionFeeRate(BigDecimal transactionFeeRate)
    {
        this.transactionFeeRate = transactionFeeRate;
    }

    public BigDecimal getManagementFeeRate()
    {
        return managementFeeRate;
    }

    public void setManagementFeeRate(BigDecimal managementFeeRate)
    {
        this.managementFeeRate = managementFeeRate;
    }

    public Integer getAccountAssigned()
    {
        return accountAssigned;
    }

    public void setAccountAssigned(Integer accountAssigned)
    {
        this.accountAssigned = accountAssigned;
    }

    public Long getSysUserId()
    {
        return sysUserId;
    }

    public void setSysUserId(Long sysUserId)
    {
        this.sysUserId = sysUserId;
    }

    public String getAssignedLoginName()
    {
        return assignedLoginName;
    }

    public void setAssignedLoginName(String assignedLoginName)
    {
        this.assignedLoginName = assignedLoginName;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
}
