package com.erp.supplier.dto.request;

import jakarta.validation.constraints.Email;
import lombok.Data;
import java.math.BigDecimal;

@Data
public class SupplierUpdateRequest {

    private String supplierName;

    private String supplierType;

    private String industry;

    private String businessLicense;

    private BigDecimal registeredCapital;

    private String establishmentDate;

    private String legalPerson;

    private String phone;

    @Email(message = "邮箱格式不正确")
    private String email;

    private String website;

    private String province;

    private String city;

    private String district;

    private String address;

    private String mainBusiness;

    private String status;

    private String grade;

    private Integer creditScore;

    private Integer isInternal;

    private String cooperationStartDate;

    private String cooperationEndDate;

    private String settlementMethod;

    private Integer paymentDays;

    private BigDecimal minimumOrderQuantity;

    private String remark;

    private String attachments;
}
