package com.supplier.mapper;

import com.supplier.model.SupplierRelease;
import com.supplier.model.SupplierReleaseDay;
import com.supplier.model.SupplierReleasePlay;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SupplierReleaseMapper{
    void addRelease(SupplierRelease supplierRelease);

    void addReleaseDay(SupplierReleaseDay supplierReleaseDay);

    void addReleasePlay(SupplierReleasePlay supplierReleasePlay);

    List<SupplierRelease> getSupplierRelease(SupplierRelease supplierRelease);

    List<SupplierReleaseDay> getSupplierReleaseDay(String uuid);

    List<SupplierReleasePlay> getSupplierReleasePlay(String uuid);

    void delSupplierReleaseDay(SupplierRelease supplierRelease);

    void delSupplierReleasePlay(SupplierRelease supplierRelease);

    void updateSupplierRelease(SupplierRelease supplierRelease);

    void addPrivateType(SupplierRelease supplierRelease);

    void updatePrivateType(SupplierRelease supplierRelease);
}
