export interface CompanyPolicyItem {
    id?: number | string;
    attachmentName?: string;
    downloadNum?: number | string;
    attachmentUrl?: string;
    createBy?: string;
    createTime?: string;
}

export interface CompanyPolicyPageReq {
    page: number;
    size: number;
    attachmentName?: string;
}

export interface CompanyPolicyAddReq {
    attachmentName: string;
    attachmentUrl: string;
}

export interface CompanyPolicyPageRes {
    size: number;
    records: CompanyPolicyItem[];
    total: number;
    current: number;
    pages: number;
}

export type CompanyPolicyPageResponse = {
    code: number;
    msg?: string;
    data?: CompanyPolicyPageRes;
};
