package com.example.demo.supplier.dto;

public class SupplierDtos {

    public static class CreateOrUpdateSupplierRequest {
        public String name;
        public String contactName;
        public String mobile;
        public String phone;
        public String address;
        public java.math.BigDecimal apOpening;
        public java.math.BigDecimal apPayable;
        public String remark;
    }

    public static class SupplierListItem {
        public Long id;
        public String name;
        public String contactName;
        public String mobile;
        public String phone;
        public String address;
        public java.math.BigDecimal apOpening;
        public java.math.BigDecimal apPayable;
        public String remark;

        public SupplierListItem(Long id,
                                String name,
                                String contactName,
                                String mobile,
                                String phone,
                                String address,
                                java.math.BigDecimal apOpening,
                                java.math.BigDecimal apPayable,
                                String remark) {
            this.id = id;
            this.name = name;
            this.contactName = contactName;
            this.mobile = mobile;
            this.phone = phone;
            this.address = address;
            this.apOpening = apOpening;
            this.apPayable = apPayable;
            this.remark = remark;
        }
    }
}


