package com.crm.rely.backend.core.entity.system.qa;

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import com.crm.rely.backend.core.entity.user.role.qa.UserRoleQaSaveEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SysQaUpdateEntity extends BaseUpdateEntity {

    @NotNull
    private String subject;
    @NotNull
    private String lang;
    @NotNull
    private String content;

    @NotNull
    private List<UserRoleQaSaveEntity> roleIds;

}
