package com.jwipc.sys.dto;

import com.jwipc.aggregation.annotation.RelationAggregationField;
import com.jwipc.sys.service.IUserService;
import lombok.Data;

import java.io.Serial;

/**
 * <p>
 * 打印模板配置表
 * </p>
 *
 * @author JIZ
 * @since 2024-05-13
 */
@Data
public class PrintTempListDTO extends PrintTempBaseDTO {


    @Serial
    private static final long serialVersionUID = 4944837023672743132L;
    @RelationAggregationField(
            masterIdField = "createId",
            relationIdField = "id",
            relationNameField = "username",
            relationClientClass = IUserService.class,
            relationMethod = "listByIds"
    )
    private String create;
    @RelationAggregationField(
            masterIdField = "updateId",
            relationIdField = "id",
            relationNameField = "username",
            relationClientClass = IUserService.class,
            relationMethod = "listByIds"
    )
    private String update;

}
