project init
This commit is contained in:
parent
2d6e2ebfab
commit
7b44589bda
Binary file not shown.
|
|
@ -0,0 +1,380 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<profiles version="21">
|
||||||
|
<profile kind="CodeFormatterProfile" name="P3C-CodeStyle" version="21">
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.text_block_indentation" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_with_spaces" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_record_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_record_constructor" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_lambda_body" value="end_of_line"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_record_declaration" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause" value="common_lines"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_record_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_record_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_record_declaration" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_declaration" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_constructor" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_not_operator" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_additive_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_additive_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_shift_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_shift_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_relational_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_relational_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_logical_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_logical_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line" value="one_line_preserve"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_code_block_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_method_body_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line" value="one_line_preserve"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line" value="one_line_preserve"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line" value="one_line_preserve"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line" value="one_line_preserve"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_record_declaration_on_one_line" value="one_line_preserve"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_record_constructor_on_one_line" value="one_line_never"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line" value="one_line_preserve"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="1"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="82"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="82"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_record_components" value="18"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="80"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_additive_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_additive_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_string_concatenation" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_string_concatenation" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_shift_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_shift_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_relational_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_relational_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_logical_operator" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_logical_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="48"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_conditional_operator" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_assignment_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_loops" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assertion_message" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_assertion_message_operator" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_type_arguments" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_type_parameters" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type" value="49"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field" value="49"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method" value="49"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_type_annotations" value="49"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="2"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_module_statements" value="0"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_tag_description" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="true"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
@ -0,0 +1,202 @@
|
||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>top.continew</groupId>
|
||||||
|
<artifactId>continew-admin</artifactId>
|
||||||
|
<version>${revision}</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>continew-admin-business</artifactId>
|
||||||
|
<description>业务管理模块(存放业务管理相关业务功能,例如:模型、作业等)</description>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<!-- 公共模块(存放公共工具类,公共配置等) -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>top.continew</groupId>
|
||||||
|
<artifactId>continew-admin-common</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>top.continew</groupId>
|
||||||
|
<artifactId>continew-admin-system</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>top.continew</groupId>
|
||||||
|
<artifactId>continew-admin-system</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
package top.continew.admin.business.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import top.continew.starter.core.enums.BaseEnum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消息类型枚举
|
||||||
|
*
|
||||||
|
* @author Charles7c
|
||||||
|
* @since 2023/11/2 20:08
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public enum AssignmentsTypeEnum implements BaseEnum<Integer> {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业
|
||||||
|
*/
|
||||||
|
ASSIGNMENTS(1, "作业"),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 考试
|
||||||
|
*/
|
||||||
|
EXAMINATION(2, "考试"),;
|
||||||
|
|
||||||
|
private final Integer value;
|
||||||
|
private final String description;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,123 @@
|
||||||
|
package top.continew.admin.business.enums;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费规则枚举
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/09/22
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@AllArgsConstructor
|
||||||
|
public enum BillingRuleEnum {
|
||||||
|
|
||||||
|
// 生成平台-艺术类
|
||||||
|
AI_PAINTING(10000L, "生成平台-艺术类", "AI绘画", new BigDecimal("0.13")),
|
||||||
|
AI_MUSIC(10002L, "生成平台-艺术类", "AI音乐", new BigDecimal("0.4")),
|
||||||
|
AI_VIDEO_TEXT(10003L, "生成平台-艺术类", "AI视频-文生视频", new BigDecimal("1.5")),
|
||||||
|
AI_VIDEO_IMAGE(10004L, "生成平台-艺术类", "AI视频-图生视频", new BigDecimal("1.5")),
|
||||||
|
AI_3D(10005L, "生成平台-艺术类", "AI3D", new BigDecimal("0.5")),
|
||||||
|
|
||||||
|
// 效率工具 - AI绘画
|
||||||
|
AI_PAINTING_GENERAL(10006L, "效率工具", "AI绘画-通用", new BigDecimal("0.3")),
|
||||||
|
AI_PAINTING_PORTRAIT(10007L, "效率工具", "AI绘画-人物肖像", new BigDecimal("0.3")),
|
||||||
|
AI_PAINTING_FLAT_DESIGN(10008L, "效率工具", "AI绘画-平面设计", new BigDecimal("0.3")),
|
||||||
|
AI_PAINTING_ART_DESIGN(10009L, "效率工具", "AI绘画-环艺设计", new BigDecimal("0.3")),
|
||||||
|
AI_PAINTING_ECOMMERCE(10010L, "效率工具", "AI绘画-电商产品", new BigDecimal("0.3")),
|
||||||
|
|
||||||
|
// 效率工具 - AI视频
|
||||||
|
AI_AUDIO(10011L, "效率工具", "AI音频", new BigDecimal("0.3")),
|
||||||
|
AI_VIDEO_PREPRODUCTION(10012L, "效率工具", "AI视频-前期制作", new BigDecimal("0.5")),
|
||||||
|
AI_VIDEO_SPECIAL_EFFECTS(10013L, "效率工具", "AI视频-视频特效", new BigDecimal("1")),
|
||||||
|
AI_VIDEO_PRODUCTION(10014L, "效率工具", "AI视频-视频生成", new BigDecimal("1")),
|
||||||
|
|
||||||
|
// 效率工具 - AI3D
|
||||||
|
AI_3D_TOOL(10015L, "效率工具", "AI3D", new BigDecimal("0.5")),
|
||||||
|
|
||||||
|
// 大语言模型
|
||||||
|
LANGUAGE_MODEL_MULTIMODAL(10016L, "大语言模型", "多模态", new BigDecimal("0.01")), // 1000 token 扣0.01元
|
||||||
|
|
||||||
|
// AI写作
|
||||||
|
AI_WRITING_IMAGE(10001L, "AI写作", "图片", new BigDecimal("1")), // KEXUE_MULTIMODAL
|
||||||
|
AI_WRITING_TEXT(10018L, "AI写作", "文本", new BigDecimal("0.01")), // 1000 token 扣0.01元
|
||||||
|
|
||||||
|
// deep research
|
||||||
|
DEEP_RESEARCH(10019L, "deep research", "深度研究", new BigDecimal("1")),
|
||||||
|
|
||||||
|
// AI编程级
|
||||||
|
AI_PROGRAMMING_MONKEY_OUTLOOK(10020L, "AI编程级", "monkey outlook", new BigDecimal("0.2")),
|
||||||
|
|
||||||
|
// AI编程入门
|
||||||
|
AI_PROGRAMMING_CANVAS(10021L, "AI编程入门", "canvas", new BigDecimal("0.03")),
|
||||||
|
|
||||||
|
// 智能体开发
|
||||||
|
AGENT_DEVELOPMENT_ADVANCED(10022L, "智能体开发", "包含高级", new BigDecimal("0.1")),
|
||||||
|
|
||||||
|
// 教学智能体
|
||||||
|
TEACHING_AGENT(10023L, "教学智能体", "基础", new BigDecimal("0.1")),
|
||||||
|
|
||||||
|
// genie research
|
||||||
|
GENIE_RESEARCH(10024L, "GENIE research", "京东智能体", new BigDecimal("1"))
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台编码
|
||||||
|
*/
|
||||||
|
private final Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 大类
|
||||||
|
*/
|
||||||
|
private final String majorCategory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分类
|
||||||
|
*/
|
||||||
|
private final String subCategory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费金额(元)
|
||||||
|
*/
|
||||||
|
private final BigDecimal price;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据平台编码获取计费规则
|
||||||
|
*
|
||||||
|
* @param platformId 平台编码
|
||||||
|
* @return 计费规则
|
||||||
|
*/
|
||||||
|
public static BillingRuleEnum getByPlatformId(Long platformId) {
|
||||||
|
for (BillingRuleEnum rule : values()) {
|
||||||
|
if (rule.getPlatformId().equals(platformId)) {
|
||||||
|
return rule;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据平台编码获取计费金额
|
||||||
|
*
|
||||||
|
* @param platformId 平台编码
|
||||||
|
* @return 计费金额(元)
|
||||||
|
*/
|
||||||
|
public static BigDecimal getPriceByPlatformId(Long platformId) {
|
||||||
|
BillingRuleEnum rule = getByPlatformId(platformId);
|
||||||
|
return rule != null ? rule.getPrice() : BigDecimal.ZERO;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 检查平台编码是否为token计费类型
|
||||||
|
*
|
||||||
|
* @param platformId 平台编码
|
||||||
|
* @return 是否为token计费
|
||||||
|
*/
|
||||||
|
public static boolean isTokenBilling(Long platformId) {
|
||||||
|
return 10016L == platformId || 10018L == platformId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,48 @@
|
||||||
|
package top.continew.admin.business.enums;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台子账号类型枚举
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@AllArgsConstructor
|
||||||
|
public enum ChargeTypeEnum {
|
||||||
|
|
||||||
|
CHAT(0, "TOKEN"), IMAGE(1, "图"), AUDIO(3, "音频"), VIDEO(4, "视频"), D3D(5, "3D"), TEACHER_AGENT(6, "教学智能体"),
|
||||||
|
DEEP_RESEARCH(7, "DEEP_RESEARCH"), MULTIMODAL(8, "多模态"), AI_CODE(9, "AI编程"), AGENT_DEVELOPMENT(10, "智能体开发")
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型平台类型
|
||||||
|
*/
|
||||||
|
private final Integer typeId;
|
||||||
|
/**
|
||||||
|
* 描述
|
||||||
|
*/
|
||||||
|
private final String desc;
|
||||||
|
|
||||||
|
public static String convertDesc(Long typeId) {
|
||||||
|
ChargeTypeEnum[] values = ChargeTypeEnum.values();
|
||||||
|
for (ChargeTypeEnum va : values) {
|
||||||
|
if (va.getTypeId().equals(typeId)) {
|
||||||
|
return va.getDesc();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "--";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Integer getType(Integer index) {
|
||||||
|
ChargeTypeEnum[] values = ChargeTypeEnum.values();
|
||||||
|
if (index != null && index >= 0 && index < values.length) {
|
||||||
|
return values[index].getTypeId();
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
package top.continew.admin.business.enums;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台子账号类型枚举
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@AllArgsConstructor
|
||||||
|
public enum PlantformBalanceEnum {
|
||||||
|
|
||||||
|
CHAT(10000L, "大模型对话", 0), IMAGE(10001L, "图片大模型", 1), MEDIA(10002L, "视频大模型", 4),;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型平台类型
|
||||||
|
*/
|
||||||
|
private final Long plantformId;
|
||||||
|
/**
|
||||||
|
* 描述
|
||||||
|
*/
|
||||||
|
private final String desc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
private final Integer type;
|
||||||
|
|
||||||
|
public static String convertDesc(Integer plantformId) {
|
||||||
|
PlantformBalanceEnum[] values = PlantformBalanceEnum.values();
|
||||||
|
for (PlantformBalanceEnum va : values) {
|
||||||
|
if (va.getPlantformId().equals(plantformId)) {
|
||||||
|
return va.getDesc();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "--";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Integer getType(Integer index) {
|
||||||
|
PlantformBalanceEnum[] values = PlantformBalanceEnum.values();
|
||||||
|
if (index != null && index >= 0 && index < values.length) {
|
||||||
|
return values[index].getType();
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Long getPlantform(Integer index) {
|
||||||
|
PlantformBalanceEnum[] values = PlantformBalanceEnum.values();
|
||||||
|
if (index != null && index >= 0 && index < values.length) {
|
||||||
|
return values[index].getPlantformId();
|
||||||
|
}
|
||||||
|
return -1L;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 14:27
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public enum RoleEnum {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,129 @@
|
||||||
|
package top.continew.admin.business.file;
|
||||||
|
|
||||||
|
import org.springframework.lang.NonNull;
|
||||||
|
import org.springframework.lang.Nullable;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
import org.springframework.util.FileCopyUtils;
|
||||||
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
||||||
|
import java.io.ByteArrayInputStream;
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.InputStream;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: jia
|
||||||
|
* @Date: 2025/05/21/15:42
|
||||||
|
* @Description:
|
||||||
|
*/
|
||||||
|
public class CommonMultipartFile implements MultipartFile {
|
||||||
|
|
||||||
|
private final String name;
|
||||||
|
|
||||||
|
private final String originalFilename;
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
private final String contentType;
|
||||||
|
|
||||||
|
private final byte[] content;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new CommonMultipartFile with the given content.
|
||||||
|
*
|
||||||
|
* @param name the name of the file
|
||||||
|
* @param content the content of the file
|
||||||
|
*/
|
||||||
|
public CommonMultipartFile(String name, @Nullable byte[] content) {
|
||||||
|
this(name, "", null, content);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new CommonMultipartFile with the given content.
|
||||||
|
*
|
||||||
|
* @param name the name of the file
|
||||||
|
* @param contentStream the content of the file as stream
|
||||||
|
* @throws IOException if reading from the stream failed
|
||||||
|
*/
|
||||||
|
public CommonMultipartFile(String name, InputStream contentStream) throws IOException {
|
||||||
|
this(name, "", null, FileCopyUtils.copyToByteArray(contentStream));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new CommonMultipartFile with the given content.
|
||||||
|
*
|
||||||
|
* @param name the name of the file
|
||||||
|
* @param originalFilename the original filename (as on the client's machine)
|
||||||
|
* @param contentType the content type (if known)
|
||||||
|
* @param content the content of the file
|
||||||
|
*/
|
||||||
|
public CommonMultipartFile(String name,
|
||||||
|
@Nullable String originalFilename,
|
||||||
|
@Nullable String contentType,
|
||||||
|
@Nullable byte[] content) {
|
||||||
|
|
||||||
|
Assert.hasLength(name, "Name must not be empty");
|
||||||
|
this.name = name;
|
||||||
|
this.originalFilename = (originalFilename != null ? originalFilename : "");
|
||||||
|
this.contentType = contentType;
|
||||||
|
this.content = (content != null ? content : new byte[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new CommonMultipartFile with the given content.
|
||||||
|
*
|
||||||
|
* @param name the name of the file
|
||||||
|
* @param originalFilename the original filename (as on the client's machine)
|
||||||
|
* @param contentType the content type (if known)
|
||||||
|
* @param contentStream the content of the file as stream
|
||||||
|
* @throws IOException if reading from the stream failed
|
||||||
|
*/
|
||||||
|
public CommonMultipartFile(String name,
|
||||||
|
@Nullable String originalFilename,
|
||||||
|
@Nullable String contentType,
|
||||||
|
InputStream contentStream) throws IOException {
|
||||||
|
|
||||||
|
this(name, originalFilename, contentType, FileCopyUtils.copyToByteArray(contentStream));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return this.name;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@NonNull
|
||||||
|
public String getOriginalFilename() {
|
||||||
|
return this.originalFilename;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Nullable
|
||||||
|
public String getContentType() {
|
||||||
|
return this.contentType;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return (this.content.length == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public long getSize() {
|
||||||
|
return this.content.length;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public byte[] getBytes() throws IOException {
|
||||||
|
return this.content;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public InputStream getInputStream() throws IOException {
|
||||||
|
return new ByteArrayInputStream(this.content);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void transferTo(File dest) throws IOException, IllegalStateException {
|
||||||
|
FileCopyUtils.copy(this.content, dest);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.AssignmentSubmissionsDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业提交 Mapper
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 12:02
|
||||||
|
*/
|
||||||
|
public interface AssignmentSubmissionsMapper extends BaseMapper<AssignmentSubmissionsDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.AssignmentsDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业表 Mapper
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 11:45
|
||||||
|
*/
|
||||||
|
public interface AssignmentsMapper extends BaseMapper<AssignmentsDO> {}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.admin.business.model.entity.BillingRuleDO;
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费规则 Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/14
|
||||||
|
*/
|
||||||
|
public interface BillingRuleMapper extends BaseMapper<BillingRuleDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.ConsumptionHistoryDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户充值消费历史记录 Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/05/23 07:51
|
||||||
|
*/
|
||||||
|
public interface ConsumptionHistoryMapper extends BaseMapper<ConsumptionHistoryDO> {}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.Copyright;
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-文案 Mapper 接口
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface CopyrightMapper extends BaseMapper<Copyright> {
|
||||||
|
// 可根据需要添加额外的查询方法
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.CourseUserDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 12:19
|
||||||
|
*/
|
||||||
|
public interface CourseUserMapper extends BaseMapper<CourseUserDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.CoursesDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程 Mapper
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
public interface CoursesMapper extends BaseMapper<CoursesDO> {}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.DeptModelDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门与模型绑定 Mapper
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/20 14:26
|
||||||
|
*/
|
||||||
|
public interface DeptModelMapper extends BaseMapper<DeptModelDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.DeptPlatformDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门与操作平台绑定 Mapper
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/20 14:42
|
||||||
|
*/
|
||||||
|
public interface DeptPlatformMapper extends BaseMapper<DeptPlatformDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.DigitalHuman;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人Mapper接口
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface DigitalHumanMapper extends BaseMapper<DigitalHuman> {
|
||||||
|
// 可根据需要添加额外的数据库操作方法
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.Effect;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-特效Mapper接口
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface EffectMapper extends BaseMapper<Effect> {
|
||||||
|
// 可根据需要添加额外的数据库操作方法
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.EffectTemplate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-特效模板Mapper接口
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface EffectTemplateMapper extends BaseMapper<EffectTemplate> {
|
||||||
|
// 可根据需要添加额外的数据库操作方法
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.admin.business.model.entity.FreeQuotaConfigDO;
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 免费额度配置 Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/17
|
||||||
|
*/
|
||||||
|
public interface FreeQuotaConfigMapper extends BaseMapper<FreeQuotaConfigDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.HomeworkDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* business Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
public interface HomeworkMapper extends BaseMapper<HomeworkDO> {}
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.HuandaResourceDO;
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 换哒-文件资源 Mapper
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/23 16:53
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface HuandaResourceMapper extends BaseMapper<HuandaResourceDO> {}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.ModelCategoryDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型分类Mapper
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/20 19:50
|
||||||
|
*/
|
||||||
|
public interface ModelCategoryMapper extends BaseMapper<ModelCategoryDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.admin.business.model.entity.ModelDO;
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型 Mapper
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/19 15:51
|
||||||
|
*/
|
||||||
|
public interface ModelMapper extends BaseMapper<ModelDO> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.OrderAudioDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 音频 Mapper
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
public interface OrderAudioMapper extends BaseMapper<OrderAudioDo> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.OrderHistoryDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点数历史记录 Mapper
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
public interface OrderHistoryMapper extends BaseMapper<OrderHistoryDo> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.OrderThreeDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 3D平台 Mapper
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
public interface OrderThreeMapper extends BaseMapper<OrderThreeDo> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.OrderVideoDo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 视频 Mapper
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OrderVideoMapper extends BaseMapper<OrderVideoDo> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.PlantformBalanceDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* business Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/24 16:47
|
||||||
|
*/
|
||||||
|
public interface PlantformBalanceMapper extends BaseMapper<PlantformBalanceDO> {}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.ScoreDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* business Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
public interface ScoreMapper extends BaseMapper<ScoreDO> {}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.SignInDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* business Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
public interface SignInMapper extends BaseMapper<SignInDO> {}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.SubtitleItem;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-字幕项Mapper接口
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface SubtitleItemMapper extends BaseMapper<SubtitleItem> {
|
||||||
|
// 可根据需要添加额外的数据库操作方法
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import top.continew.admin.business.model.entity.SubtitleStyle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-字幕样式Mapper接口
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface SubtitleStyleMapper extends BaseMapper<SubtitleStyle> {
|
||||||
|
// 可根据需要添加额外的数据库操作方法
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package top.continew.admin.business.mapper;
|
||||||
|
|
||||||
|
import top.continew.starter.data.mp.base.BaseMapper;
|
||||||
|
import top.continew.admin.business.model.entity.TaskRecordHistoryDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 音视图文生成记录 Mapper
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/05/23 07:51
|
||||||
|
*/
|
||||||
|
public interface TaskRecordHistoryMapper extends BaseMapper<TaskRecordHistoryDO> {}
|
||||||
|
|
@ -0,0 +1,71 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业提交实体
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 12:01
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("assignment_submissions")
|
||||||
|
public class AssignmentSubmissionsDO extends BaseIdDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业ID
|
||||||
|
*/
|
||||||
|
private Long assignmentId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学生ID
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 图片标题
|
||||||
|
*/
|
||||||
|
private String imageTitle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 图片标签
|
||||||
|
*/
|
||||||
|
private String imageTag;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 图片地址
|
||||||
|
*/
|
||||||
|
private String imageUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分数
|
||||||
|
*/
|
||||||
|
private Integer score;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 评语
|
||||||
|
*/
|
||||||
|
private String feedback;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.INSERT)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.INSERT)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,77 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.admin.business.enums.AssignmentsTypeEnum;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业表实体
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 11:44
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("assignments")
|
||||||
|
public class AssignmentsDO extends BaseIdDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程表ID
|
||||||
|
*/
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分类(1:作业,2:考试)
|
||||||
|
*/
|
||||||
|
private AssignmentsTypeEnum type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业要求
|
||||||
|
*/
|
||||||
|
private String requirements;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 满分
|
||||||
|
*/
|
||||||
|
private Integer fullScore;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开始时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 示例图片
|
||||||
|
*/
|
||||||
|
private String exampleImages;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.INSERT)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.INSERT)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,81 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费规则实体
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/14
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_billing_rule")
|
||||||
|
public class BillingRuleDO extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台名称
|
||||||
|
*/
|
||||||
|
private String platformName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台ID
|
||||||
|
*/
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台编码
|
||||||
|
*/
|
||||||
|
private String platformCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扣费编码
|
||||||
|
*/
|
||||||
|
private String chargeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型
|
||||||
|
*/
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型名称
|
||||||
|
*/
|
||||||
|
private String modelName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主账户扣减单价(分/次/整数量)
|
||||||
|
*/
|
||||||
|
private Long price;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子账户单价(次/个/数量)
|
||||||
|
*/
|
||||||
|
private Long subAccountPrice;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费单位
|
||||||
|
*/
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否启用(0:禁用 1:启用)
|
||||||
|
*/
|
||||||
|
private Integer enabled;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,58 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户充值消费历史记录实体
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/05/23 07:51
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_consumption_history")
|
||||||
|
public class ConsumptionHistoryDO extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
private Integer taskType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点数量
|
||||||
|
*/
|
||||||
|
private Long chargePoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 剩余的点数
|
||||||
|
*/
|
||||||
|
private Long remainingPoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 记录类型(0充点 1 次数 2 点数)
|
||||||
|
*/
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子账号类型(0主账号,1子账号)
|
||||||
|
*/
|
||||||
|
private Integer accountType;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-文案实体类
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@TableName("dh_copyright")
|
||||||
|
public class Copyright extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文案 ID
|
||||||
|
*/
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户 ID
|
||||||
|
*/
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文案内容
|
||||||
|
*/
|
||||||
|
private String text;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程关联学生实体
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 12:14
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("course_user")
|
||||||
|
public class CourseUserDO extends BaseIdDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程ID
|
||||||
|
*/
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学生ID
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学生姓名
|
||||||
|
*/
|
||||||
|
private String nickname;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.INSERT)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程实体
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("courses")
|
||||||
|
public class CoursesDO extends BaseIdDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 描述
|
||||||
|
*/
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 班级
|
||||||
|
*/
|
||||||
|
private String className;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 封面
|
||||||
|
*/
|
||||||
|
private String coverImage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开始时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.INSERT)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.INSERT)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门与模型绑定实体类
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/20 14:24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("dept_model")
|
||||||
|
public class DeptModelDO extends BaseIdDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门ID
|
||||||
|
*/
|
||||||
|
private Long deptId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型ID
|
||||||
|
*/
|
||||||
|
private Integer modelId;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门与操作平台绑定实体类
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/20 14:34
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("dept_platform")
|
||||||
|
public class DeptPlatformDO extends BaseIdDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门ID
|
||||||
|
*/
|
||||||
|
private Long deptId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 操作平台
|
||||||
|
*/
|
||||||
|
private String platform;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,74 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人实体类
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@TableName("dh_digital_human")
|
||||||
|
public class DigitalHuman extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人唯一标识符
|
||||||
|
*/
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建数字人的用户ID
|
||||||
|
*/
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户输入的文案提示
|
||||||
|
*/
|
||||||
|
private String copywriting;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成语音文件的URL
|
||||||
|
*/
|
||||||
|
private String generatedVoiceUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成帧图像URL(或空字符串)
|
||||||
|
*/
|
||||||
|
private String generatedFrameImageUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最终合成视频URL
|
||||||
|
*/
|
||||||
|
private String generatedVideoUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕项列表(冗余存储,用于快速回显)
|
||||||
|
*/
|
||||||
|
private String subtitle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕样式配置(冗余或快照)
|
||||||
|
*/
|
||||||
|
private String subtitleStyle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效列表(冗余存储)
|
||||||
|
*/
|
||||||
|
private String effects;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime updateTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,113 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-特效实体类
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@TableName("dh_effect")
|
||||||
|
public class Effect extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效ID(通常来自模板或任务生成)
|
||||||
|
*/
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效模板ID
|
||||||
|
*/
|
||||||
|
private Long templateId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 关联的数字人任务ID
|
||||||
|
*/
|
||||||
|
private Long digitalHumanId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效类型('text','image','music','audio')
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效资源URL
|
||||||
|
*/
|
||||||
|
private String sourceUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效显示位置X坐标(像素)
|
||||||
|
*/
|
||||||
|
private Integer positionX;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效显示位置Y坐标(像素)
|
||||||
|
*/
|
||||||
|
private Integer positionY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效宽度(像素)
|
||||||
|
*/
|
||||||
|
private Integer sizeWidth;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效高度(像素)
|
||||||
|
*/
|
||||||
|
private Integer sizeHeight;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效最大持续时间(秒)
|
||||||
|
*/
|
||||||
|
private Double length;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效文本内容(仅文本类型有效)
|
||||||
|
*/
|
||||||
|
private String subtitleText;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕样式配置(JSON格式)
|
||||||
|
*/
|
||||||
|
private String subtitleStyle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕中心位置({x, y})
|
||||||
|
*/
|
||||||
|
private String subtitlePosition;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效开始偏移时间(秒)
|
||||||
|
*/
|
||||||
|
private Double offset;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效播放时间段({"start": x, "end": y})
|
||||||
|
*/
|
||||||
|
private String duration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 渲染层级(Z轴顺序)
|
||||||
|
*/
|
||||||
|
private Integer zIndex;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime updateTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,95 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-特效模板实体类
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@TableName("dh_effect_template")
|
||||||
|
public class EffectTemplate extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效模板ID
|
||||||
|
*/
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模板名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否为用户自定义特效(true/false)
|
||||||
|
*/
|
||||||
|
private String isCustom;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上传自定义特效的用户ID(目前仅支持音乐)
|
||||||
|
*/
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 默认资源URL
|
||||||
|
*/
|
||||||
|
private String sourceUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 默认尺寸({"width": w, "height": h})
|
||||||
|
*/
|
||||||
|
private String size_width;
|
||||||
|
|
||||||
|
private String size_height;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 默认持续时间(秒),0表示无限
|
||||||
|
*/
|
||||||
|
private Double length;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 默认字幕文本(仅文本类型)
|
||||||
|
*/
|
||||||
|
private String subtitleText;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 关联的字幕样式ID
|
||||||
|
*/
|
||||||
|
private Long subtitleStyleId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕默认X位置(可为固定值或表达式)
|
||||||
|
*/
|
||||||
|
private String subtitlePositionX;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕默认Y位置
|
||||||
|
*/
|
||||||
|
private String subtitlePositionY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 封面图URL
|
||||||
|
*/
|
||||||
|
private String coverUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime updateTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,67 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 免费额度配置实体
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/17
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_free_quota_config")
|
||||||
|
public class FreeQuotaConfigDO extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类别编码
|
||||||
|
*/
|
||||||
|
private String categoryCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类别名称
|
||||||
|
*/
|
||||||
|
private String categoryName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 额度
|
||||||
|
*/
|
||||||
|
private BigDecimal quota;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型(对应ChargeTypeEnum)
|
||||||
|
*/
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型 1:次数 2:点数
|
||||||
|
*/
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 描述
|
||||||
|
*/
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 排序
|
||||||
|
*/
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否启用 0:禁用 1:启用
|
||||||
|
*/
|
||||||
|
private Boolean isEnabled;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,41 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业实体
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_homework")
|
||||||
|
public class HomeworkDO extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程id
|
||||||
|
*/
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 未交原因
|
||||||
|
*/
|
||||||
|
private String cause;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1、已交 2、未交
|
||||||
|
*/
|
||||||
|
private Integer handedIn;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 换哒-文件资源实体
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/23 16:53
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_huanda_resource")
|
||||||
|
public class HuandaResourceDO extends BaseDO {
|
||||||
|
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户ID
|
||||||
|
*/
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资源地址
|
||||||
|
*/
|
||||||
|
private String url;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资源类型:1.服装,2模特,3自定义服装,4.自定义背景
|
||||||
|
*/
|
||||||
|
private Integer resourceType;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片年龄")
|
||||||
|
private String age;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片性别:男,女")
|
||||||
|
private String gender;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片区域")
|
||||||
|
private String region;
|
||||||
|
|
||||||
|
// 显式忽略审计字段,防止插入时出错
|
||||||
|
@TableField(exist = false)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private java.time.LocalDateTime createTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private Long updateUser;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private java.time.LocalDateTime updateTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型分类表
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/20 19:42
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("model_category")
|
||||||
|
public class ModelCategoryDO extends BaseIdDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上级ID
|
||||||
|
*/
|
||||||
|
private Long parentId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,93 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.admin.common.enums.DisEnableStatusEnum;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型实体类
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/19 15:11
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName(value = "model")
|
||||||
|
public class ModelDO extends BaseIdDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台分类
|
||||||
|
*/
|
||||||
|
private String platformCategory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 版本
|
||||||
|
*/
|
||||||
|
private String version;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分类
|
||||||
|
*/
|
||||||
|
private String category;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 专业分类
|
||||||
|
*/
|
||||||
|
private String professionalCategory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 系列
|
||||||
|
*/
|
||||||
|
private String series;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 轮播图信息
|
||||||
|
*/
|
||||||
|
private String images;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 推荐分辨率
|
||||||
|
*/
|
||||||
|
private String recommendedResolution;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 提示词是否开启
|
||||||
|
*/
|
||||||
|
private DisEnableStatusEnum promptEnabled;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 采样方法
|
||||||
|
*/
|
||||||
|
private String samplingMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CFG
|
||||||
|
*/
|
||||||
|
private Integer cfg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* VAE
|
||||||
|
*/
|
||||||
|
private String vae;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 采样步数
|
||||||
|
*/
|
||||||
|
private Integer samplingSteps;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 音频平台任务订单表
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("order_audio")
|
||||||
|
public class OrderAudioDo extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*/
|
||||||
|
private String state;
|
||||||
|
/**
|
||||||
|
* 删除标示
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
/**
|
||||||
|
* 任务类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
/**
|
||||||
|
* 使用的模型
|
||||||
|
*/
|
||||||
|
private String model;
|
||||||
|
/**
|
||||||
|
* 消耗点数
|
||||||
|
*/
|
||||||
|
private Integer inviteBeans;
|
||||||
|
/**
|
||||||
|
* 存储结果文件路径
|
||||||
|
*/
|
||||||
|
private String fileUrl;
|
||||||
|
/**
|
||||||
|
* 订单 类型
|
||||||
|
*/
|
||||||
|
private Integer orderType;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,53 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台任务订单历史表
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("order_history")
|
||||||
|
public class OrderHistoryDo extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*/
|
||||||
|
private String state;
|
||||||
|
/**
|
||||||
|
* 删除标示
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
/**
|
||||||
|
* 任务类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
/**
|
||||||
|
* 使用的模型
|
||||||
|
*/
|
||||||
|
private String model;
|
||||||
|
/**
|
||||||
|
* 消耗点数
|
||||||
|
*/
|
||||||
|
private Integer inviteBeans;
|
||||||
|
/**
|
||||||
|
* 剩余的点数
|
||||||
|
*/
|
||||||
|
private Integer remainder;
|
||||||
|
/**
|
||||||
|
* 记录类型:支出;增加
|
||||||
|
*/
|
||||||
|
private String formType;
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
private String platform;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 3D平台任务订单表
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("order_three")
|
||||||
|
public class OrderThreeDo extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*/
|
||||||
|
private String state;
|
||||||
|
/**
|
||||||
|
* 删除标示
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
/**
|
||||||
|
* 任务类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
/**
|
||||||
|
* 使用的模型
|
||||||
|
*/
|
||||||
|
private String model;
|
||||||
|
/**
|
||||||
|
* 消耗点数
|
||||||
|
*/
|
||||||
|
private Integer inviteBeans;
|
||||||
|
/**
|
||||||
|
* 存储结果文件路径
|
||||||
|
*/
|
||||||
|
private String fileUrl;
|
||||||
|
/**
|
||||||
|
* 订单 类型
|
||||||
|
*/
|
||||||
|
private Integer orderType;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,48 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 视频平台任务订单表
|
||||||
|
*
|
||||||
|
* @author hzy
|
||||||
|
* @since 2024/10/22 11:58
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("order_video")
|
||||||
|
public class OrderVideoDo {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*/
|
||||||
|
private String state;
|
||||||
|
/**
|
||||||
|
* 删除标示
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
/**
|
||||||
|
* 任务类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
/**
|
||||||
|
* 使用的模型
|
||||||
|
*/
|
||||||
|
private String model;
|
||||||
|
/**
|
||||||
|
* 消耗点数
|
||||||
|
*/
|
||||||
|
private Integer inviteBeans;
|
||||||
|
/**
|
||||||
|
* 存储结果文件路径
|
||||||
|
*/
|
||||||
|
private String fileUrl;
|
||||||
|
/**
|
||||||
|
* 订单 类型
|
||||||
|
*/
|
||||||
|
private Integer orderType;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,58 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseIdDO;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户子账号余额表实体
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/24 16:47
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_plantform_balance")
|
||||||
|
public class PlantformBalanceDO extends BaseIdDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型 1 次数 2 点数
|
||||||
|
*/
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 余额
|
||||||
|
*/
|
||||||
|
private Long balance;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型(token:0, 图:1, 音频:3, 视频:4, 白膜贴图/3D:5)
|
||||||
|
*/
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改人
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.UPDATE)
|
||||||
|
private Long updateUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@TableField(fill = FieldFill.UPDATE)
|
||||||
|
private LocalDateTime updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预扣减金额(正在进行的任务消耗)
|
||||||
|
*/
|
||||||
|
private Long preDeductBalance = 0L;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分数实体
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_score")
|
||||||
|
public class ScoreDO extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程id
|
||||||
|
*/
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 考试分数
|
||||||
|
*/
|
||||||
|
private Integer examScore;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业分数
|
||||||
|
*/
|
||||||
|
private Integer homeworkScore;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签到分数
|
||||||
|
*/
|
||||||
|
private Integer score;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最终总分数
|
||||||
|
*/
|
||||||
|
private Integer signInScore;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1、已考 2、未考
|
||||||
|
*/
|
||||||
|
private Integer takeExam;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 未考试原因
|
||||||
|
*/
|
||||||
|
private String cause;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签到实体
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_sign_in")
|
||||||
|
public class SignInDO extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
private String userName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学号
|
||||||
|
*/
|
||||||
|
private String stuNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机
|
||||||
|
*/
|
||||||
|
@Schema(description = "手机")
|
||||||
|
private String phone;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程id
|
||||||
|
*/
|
||||||
|
private Long courseId;
|
||||||
|
private String courseName;
|
||||||
|
/**
|
||||||
|
* 请假原因
|
||||||
|
*/
|
||||||
|
private String leaveCause;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1、签到 2、请假 3、旷课
|
||||||
|
*/
|
||||||
|
private Integer signIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 经纬度
|
||||||
|
*/
|
||||||
|
private String location;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,53 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-字幕项实体类
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@TableName("dh_subtitle_item")
|
||||||
|
public class SubtitleItem extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕项ID
|
||||||
|
*/
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 关联的数字人ID
|
||||||
|
*/
|
||||||
|
private Long digitalHumanId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕文本内容
|
||||||
|
*/
|
||||||
|
private String text;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕开始时间(秒)
|
||||||
|
*/
|
||||||
|
private Double startTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕结束时间(秒)
|
||||||
|
*/
|
||||||
|
private Double endTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime updateTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,83 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-字幕样式实体类
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@TableName("dh_subtitle_style")
|
||||||
|
public class SubtitleStyle extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕样式ID
|
||||||
|
*/
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 关联的数字人ID(可为空,用于全局/默认样式)
|
||||||
|
*/
|
||||||
|
private Long digitalHumanId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字体大小(像素)
|
||||||
|
*/
|
||||||
|
private Integer fontSize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字体族(如微软雅黑、Arial等)
|
||||||
|
*/
|
||||||
|
private String fontFamily;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文字颜色(CSS格式,如 #FFFFFF)
|
||||||
|
*/
|
||||||
|
private String color;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 描边颜色
|
||||||
|
*/
|
||||||
|
private String strokeColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 描边宽度(像素)
|
||||||
|
*/
|
||||||
|
private Integer strokeWidth;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 阴影颜色
|
||||||
|
*/
|
||||||
|
private String shadowColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 阴影模糊半径(像素)
|
||||||
|
*/
|
||||||
|
private Integer shadowBlur;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 底部内边距(像素)
|
||||||
|
*/
|
||||||
|
private Integer paddingBottom;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 行高(像素或倍数)
|
||||||
|
*/
|
||||||
|
private Integer lineHeight;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private java.time.LocalDateTime updateTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
package top.continew.admin.business.model.entity;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
|
||||||
|
import top.continew.starter.extension.crud.model.entity.BaseDO;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 换哒-任务生成记录实体
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/19 15:37
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("t_task_record_history")
|
||||||
|
public class TaskRecordHistoryDO extends BaseDO {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名
|
||||||
|
*/
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根任务ID
|
||||||
|
*/
|
||||||
|
private String taskRootId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务订单号
|
||||||
|
*/
|
||||||
|
private String taskId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 记录父任务 ID
|
||||||
|
*/
|
||||||
|
private String parentTaskId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内容来源的平台
|
||||||
|
*/
|
||||||
|
private String platformCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务类型:1 - 初始模特穿衣生成(仅根任务可用),2 - 对话修改,3 - 生成视频
|
||||||
|
*/
|
||||||
|
private Integer taskType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用的模型
|
||||||
|
*/
|
||||||
|
private String modelName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消耗点数
|
||||||
|
*/
|
||||||
|
private Long consumptionPoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 存储结果文件路径
|
||||||
|
*/
|
||||||
|
private String fileUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消费的token数
|
||||||
|
*/
|
||||||
|
private long tokens;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成的文字
|
||||||
|
*/
|
||||||
|
private String result;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父任务创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime parentCreateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务类型(文字内容:0, 图:2,音效:3,视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件类型
|
||||||
|
*/
|
||||||
|
private String fileType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消费类型(0充点,1按次数,2按点数)
|
||||||
|
*/
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 从哪个账户进行的扣费
|
||||||
|
*/
|
||||||
|
private String accountType;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业表查询条件
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 11:45
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "作业表查询条件")
|
||||||
|
public class AssignmentsQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程表ID
|
||||||
|
*/
|
||||||
|
@Schema(description = "课程表ID")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "作业名称")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private String name;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,65 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费规则查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/14
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "计费规则查询条件")
|
||||||
|
public class BillingRuleQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台名称", example = "AI绘画")
|
||||||
|
@Query(columns = {"platform_name"}, type = QueryType.LIKE)
|
||||||
|
private String platformName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台ID
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台ID", example = "10000")
|
||||||
|
@Query(columns = {"platform_id"}, type = QueryType.EQ)
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台编码
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台编码", example = "KEXUE_CHAT")
|
||||||
|
@Query(columns = {"platform_code"}, type = QueryType.EQ)
|
||||||
|
private String platformCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扣费编码
|
||||||
|
*/
|
||||||
|
@Schema(description = "扣费编码", example = "C0001")
|
||||||
|
@Query(columns = {"charge_code"}, type = QueryType.EQ)
|
||||||
|
private String chargeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "模型名称", example = "flux")
|
||||||
|
@Query(columns = {"model_name"}, type = QueryType.LIKE)
|
||||||
|
private String modelName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*/
|
||||||
|
@Schema(description = "是否启用", example = "1")
|
||||||
|
@Query(columns = {"enabled"}, type = QueryType.EQ)
|
||||||
|
private Integer enabled;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,81 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户充值消费历史记录查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/05/23 07:51
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "用户充值消费历史记录查询条件")
|
||||||
|
public class ConsumptionHistoryQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
@Schema(description = "生成平台")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
@Schema(description = "任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Integer taskType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点数量
|
||||||
|
*/
|
||||||
|
@Schema(description = "点数量")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long chargePoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 剩余的点数
|
||||||
|
*/
|
||||||
|
@Schema(description = "剩余的点数")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long remainingPoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 记录类型(0充点 1 次数 2 点数)
|
||||||
|
*/
|
||||||
|
@Schema(description = "记录类型(0充点 1 次数 2 点数)")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文案分页查询对象
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class CopyrightPageQuery extends PageQuery {
|
||||||
|
// 可根据需要添加额外的分页查询条件
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文案查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class CopyrightQuery implements Serializable {
|
||||||
|
private String userId;
|
||||||
|
private String text;
|
||||||
|
private String createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人分页查询对象
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class DigitalHumanPageQuery extends PageQuery {
|
||||||
|
// 可根据需要添加额外的分页查询条件
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class DigitalHumanQuery implements Serializable {
|
||||||
|
private String userId;
|
||||||
|
private String copywriting;
|
||||||
|
private String generatedVoiceUrl;
|
||||||
|
private String generatedFrameImageUrl;
|
||||||
|
private String generatedVideoUrl;
|
||||||
|
private String subtitle;
|
||||||
|
private String subtitleStyle;
|
||||||
|
private String effects;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效分页查询对象
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class EffectPageQuery extends PageQuery {
|
||||||
|
// 可根据需要添加额外的分页查询条件
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class EffectQuery implements Serializable {
|
||||||
|
private String name;
|
||||||
|
private Long templateId;
|
||||||
|
private Long digitalHumanId;
|
||||||
|
private String type;
|
||||||
|
private String sourceUrl;
|
||||||
|
private Integer positionX;
|
||||||
|
private Integer positionY;
|
||||||
|
private Integer sizeWidth;
|
||||||
|
private Integer sizeHeight;
|
||||||
|
private Double length;
|
||||||
|
private String subtitleText;
|
||||||
|
private String subtitleStyle;
|
||||||
|
private String subtitlePosition;
|
||||||
|
private Double offset;
|
||||||
|
private String duration;
|
||||||
|
private Integer zIndex;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效模板分页查询对象
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class EffectTemplatePageQuery extends PageQuery {
|
||||||
|
// 可根据需要添加额外的分页查询条件
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 特效模板查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class EffectTemplateQuery implements Serializable {
|
||||||
|
private String name;
|
||||||
|
private String isCustom;
|
||||||
|
private String userId;
|
||||||
|
private String type;
|
||||||
|
private String sourceUrl;
|
||||||
|
private String size;
|
||||||
|
private Double length;
|
||||||
|
private String subtitleText;
|
||||||
|
private Long subtitleStyleId;
|
||||||
|
private String subtitlePositionX;
|
||||||
|
private String subtitlePositionY;
|
||||||
|
private String coverUrl;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,58 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 免费额度配置查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/17
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "免费额度配置查询条件")
|
||||||
|
public class FreeQuotaConfigQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类别编码
|
||||||
|
*/
|
||||||
|
@Schema(description = "类别编码", example = "TOKEN")
|
||||||
|
@Query(columns = {"category_code"}, type = QueryType.EQ)
|
||||||
|
private String categoryCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类别名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "类别名称", example = "大模型")
|
||||||
|
@Query(columns = {"category_name"}, type = QueryType.LIKE)
|
||||||
|
private String categoryName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "计费类型", example = "0")
|
||||||
|
@Query(columns = {"charge_type"}, type = QueryType.EQ)
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "账户类型", example = "1")
|
||||||
|
@Query(columns = {"type"}, type = QueryType.EQ)
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*/
|
||||||
|
@Schema(description = "是否启用", example = "true")
|
||||||
|
@Query(columns = {"is_enabled"}, type = QueryType.EQ)
|
||||||
|
private Boolean isEnabled;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,65 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "作业查询条件")
|
||||||
|
public class HomeworkQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程id
|
||||||
|
*/
|
||||||
|
@Schema(description = "课程id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 未交原因
|
||||||
|
*/
|
||||||
|
@Schema(description = "未交原因")
|
||||||
|
@Query(type = QueryType.LIKE)
|
||||||
|
private String cause;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1、已交 2、未交
|
||||||
|
*/
|
||||||
|
@Schema(description = "已交/未交")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Integer handedIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,40 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 换哒-文件资源查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/23 16:53
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "换哒-文件资源查询条件")
|
||||||
|
public class HuandaResourcePageQuery extends PageQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Schema(description = "资源ID")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "用户ID")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
@Schema(description = "资源类型:1.服装,2模特,3自定义服装,4.自定义背景")
|
||||||
|
private Integer resourceType;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片年龄")
|
||||||
|
private String age;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片性别:男,女")
|
||||||
|
private String gender;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片区域")
|
||||||
|
private String region;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 换哒-文件资源查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/23 16:53
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "换哒-文件资源查询条件")
|
||||||
|
public class HuandaResourceQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Schema(description = "资源ID")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "用户ID")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
@Schema(description = "资源类型:1.服装,2模特,3自定义服装,4.自定义背景")
|
||||||
|
private Integer resourceType;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片年龄")
|
||||||
|
private String age;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片性别:男,女")
|
||||||
|
private String gender;
|
||||||
|
|
||||||
|
@Schema(description = "人物图片区域")
|
||||||
|
private String region;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,77 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型查询条件
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/19 15:38
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "模型查询条件")
|
||||||
|
public class ModelQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Schema(description = "模型ID", example = "1")
|
||||||
|
@Query(columns = {"id"}, type = QueryType.IN)
|
||||||
|
private List<Integer> ids;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "模型名称", example = "测试模型")
|
||||||
|
@Query(columns = {"name"}, type = QueryType.LIKE)
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台分类
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台分类", example = "绘画")
|
||||||
|
@Query(columns = {"platform_category"}, type = QueryType.EQ)
|
||||||
|
private String platformCategory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型", example = "Lora")
|
||||||
|
@Query(columns = {"type"}, type = QueryType.EQ)
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 版本
|
||||||
|
*/
|
||||||
|
@Schema(description = "版本", example = "SDXL")
|
||||||
|
@Query(columns = {"version"}, type = QueryType.EQ)
|
||||||
|
private String version;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分类
|
||||||
|
*/
|
||||||
|
@Schema(description = "分类", example = "动漫游戏")
|
||||||
|
@Query(columns = {"category"}, type = QueryType.EQ)
|
||||||
|
private String category;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 专业分类
|
||||||
|
*/
|
||||||
|
@Schema(description = "专业分类", example = "环境艺术")
|
||||||
|
@Query(columns = "professional_category", type = QueryType.EQ)
|
||||||
|
private String professionalCategory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 系列
|
||||||
|
*/
|
||||||
|
@Schema(description = "系列", example = "室内系列")
|
||||||
|
@Query(columns = {"series"}, type = QueryType.EQ)
|
||||||
|
private String series;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户子账号余额表 查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/24 16:47
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "business查询条件")
|
||||||
|
public class PlantformBalanceQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型 1 次数 2 点数
|
||||||
|
*/
|
||||||
|
@Schema(description = "账户类型")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long platformId;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,53 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分数查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "分数查询条件")
|
||||||
|
public class ScoreQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程id
|
||||||
|
*/
|
||||||
|
@Schema(description = "课程id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,77 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签到查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/06/26 10:24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "签到查询条件")
|
||||||
|
public class SignInQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long userId;
|
||||||
|
private String userName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学号
|
||||||
|
*/
|
||||||
|
private String stuNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机
|
||||||
|
*/
|
||||||
|
@Schema(description = "手机")
|
||||||
|
private String phone;
|
||||||
|
/**
|
||||||
|
* 课程id
|
||||||
|
*/
|
||||||
|
@Schema(description = "课程id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long courseId;
|
||||||
|
private String courseName;
|
||||||
|
/**
|
||||||
|
* 请假原因
|
||||||
|
*/
|
||||||
|
@Schema(description = "请假原因")
|
||||||
|
@Query(type = QueryType.LIKE)
|
||||||
|
private String leaveCause;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1、签到 2、请假 3、旷课
|
||||||
|
*/
|
||||||
|
@Schema(description = "签到")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Integer signIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕项分页查询对象
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class SubtitleItemPageQuery extends PageQuery {
|
||||||
|
// 可根据需要添加额外的分页查询条件
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕项查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class SubtitleItemQuery implements Serializable {
|
||||||
|
private Long digitalHumanId;
|
||||||
|
private String text;
|
||||||
|
private Double startTime;
|
||||||
|
private Double endTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕样式分页查询对象
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class SubtitleStylePageQuery extends PageQuery {
|
||||||
|
// 可根据需要添加额外的分页查询条件
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字幕样式查询条件
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class SubtitleStyleQuery implements Serializable {
|
||||||
|
private Long digitalHumanId;
|
||||||
|
private Integer fontSize;
|
||||||
|
private String fontFamily;
|
||||||
|
private String color;
|
||||||
|
private String strokeColor;
|
||||||
|
private Integer strokeWidth;
|
||||||
|
private String shadowColor;
|
||||||
|
private Integer shadowBlur;
|
||||||
|
private Integer paddingBottom;
|
||||||
|
private Integer lineHeight;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,88 @@
|
||||||
|
package top.continew.admin.business.model.query;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
|
||||||
|
import top.continew.starter.data.core.annotation.Query;
|
||||||
|
import top.continew.starter.data.core.enums.QueryType;
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 音视图文生成记录查询条件
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/05/23 07:51
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "音视图文生成记录查询条件")
|
||||||
|
public class TaskRecordHistoryQuery implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务订单号
|
||||||
|
*/
|
||||||
|
@Schema(description = "任务订单号")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private String taskId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名
|
||||||
|
*/
|
||||||
|
@Schema(description = "文件名")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
@Schema(description = "生成平台")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
@Schema(description = "任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Integer taskType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型(token:0, 图:1,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
@Schema(description = "计费类型(token:0, 图:1, 音效:3, 视频:4, 白膜贴图:5)")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 存储结果文件路径
|
||||||
|
*/
|
||||||
|
@Schema(description = "存储结果文件路径")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private String fileUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
@Query(type = QueryType.EQ)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.req.BaseReq;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业提交请求参数
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 12:01
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "作业提交请求参数")
|
||||||
|
public class AssignmentSubmissionsReq extends BaseReq {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业ID
|
||||||
|
*/
|
||||||
|
@Schema(description = "作业ID")
|
||||||
|
private Long assignmentId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 图片标题
|
||||||
|
*/
|
||||||
|
@Schema(description = "图片标题")
|
||||||
|
private String imageTitle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 图片标签
|
||||||
|
*/
|
||||||
|
@Schema(description = "图片标签")
|
||||||
|
private String imageTag;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 图片地址
|
||||||
|
*/
|
||||||
|
@Schema(description = "图片地址")
|
||||||
|
private String imageUrl;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.Max;
|
||||||
|
import jakarta.validation.constraints.Min;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.req.BaseReq;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业批改请求参数
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/23 19:56
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "作业批改请求参数")
|
||||||
|
public class AssignmentsCorrectReq extends BaseReq {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业ID
|
||||||
|
*/
|
||||||
|
@Schema(description = "作业提交记录ID")
|
||||||
|
@NotNull(message = "作业提交记录ID")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分数
|
||||||
|
*/
|
||||||
|
@Schema(description = "分数")
|
||||||
|
@NotNull(message = "分数不能为空")
|
||||||
|
@Max(value = 200, message = "满分不能大于200")
|
||||||
|
@Min(value = 0, message = "分数不能小于0")
|
||||||
|
private Integer score;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 评语
|
||||||
|
*/
|
||||||
|
@Schema(description = "评语")
|
||||||
|
private String feedback;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,82 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.Max;
|
||||||
|
import jakarta.validation.constraints.NotBlank;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.hibernate.validator.constraints.Length;
|
||||||
|
import top.continew.admin.business.enums.AssignmentsTypeEnum;
|
||||||
|
import top.continew.starter.extension.crud.model.req.BaseReq;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建或修改作业表信息
|
||||||
|
*
|
||||||
|
* @author 张波
|
||||||
|
* @since 2024/10/22 11:45
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "创建或修改作业表信息")
|
||||||
|
public class AssignmentsReq extends BaseReq {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 课程表ID
|
||||||
|
*/
|
||||||
|
@Schema(description = "课程表ID")
|
||||||
|
@NotNull(message = "课程表ID不能为空")
|
||||||
|
private Long courseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分类(1:作业,2:考试)
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型", example = "1")
|
||||||
|
@NotNull(message = "类型不能为空")
|
||||||
|
private AssignmentsTypeEnum type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "作业名称")
|
||||||
|
@NotBlank(message = "作业名称不能为空")
|
||||||
|
@Length(max = 255, message = "作业名称长度不能超过 {max} 个字符")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 作业要求
|
||||||
|
*/
|
||||||
|
@Schema(description = "作业要求")
|
||||||
|
@Length(max = 255, message = "作业名称长度不能超过 {max} 个字符")
|
||||||
|
private String requirements;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 满分
|
||||||
|
*/
|
||||||
|
@Schema(description = "满分", example = "100")
|
||||||
|
@Max(value = 200, message = "满分不能超过200")
|
||||||
|
private Integer fullScore;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开始时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "开始时间")
|
||||||
|
@NotNull(message = "开始时间不能为空")
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "结束时间")
|
||||||
|
@NotNull(message = "结束时间不能为空")
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 示例图片
|
||||||
|
*/
|
||||||
|
private String exampleImages;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量换哒资源操作请求
|
||||||
|
*
|
||||||
|
* @author your name
|
||||||
|
* @since 2025/12/25 15:00
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "批量换哒资源操作请求")
|
||||||
|
public class BatchReq implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotEmpty(message = "资源ID列表不能为空")
|
||||||
|
@Schema(description = "资源ID列表", example = "[1,2,3]")
|
||||||
|
private List<Long> ids;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费判断请求参数
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/08/28 16:23
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class BillingJudgeReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台编码
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台编码")
|
||||||
|
private String platformCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
@Schema(description = "生成平台id")
|
||||||
|
@NotNull(message = "生成平台不能为空")
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 使用的模型
|
||||||
|
*/
|
||||||
|
@Schema(description = "使用的模型")
|
||||||
|
private String modelName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扣费编码
|
||||||
|
*/
|
||||||
|
@Schema(description = "扣费编码", example = "C0001")
|
||||||
|
@NotNull(message = "扣费编码不能为空")
|
||||||
|
private String chargeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 本次生成数量
|
||||||
|
*/
|
||||||
|
@Schema(description = "本次生成数量", example = "1")
|
||||||
|
@NotNull(message = "本次生成数量不能为空")
|
||||||
|
private Integer quantity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 本次生成数量
|
||||||
|
*/
|
||||||
|
@Schema(description = "本次生成数量", example = "1")
|
||||||
|
@NotNull(message = "本次生成数量不能为空")
|
||||||
|
private Long tokens;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型(token:0, 图:1,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
@Schema(description = "计费类型(token:0, 图:1, 音效:3, 视频:4, 白膜贴图:5)")
|
||||||
|
@NotNull(message = "计费类型不能为空")
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* * 任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
@Schema(description = "任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)")
|
||||||
|
@NotNull(message = "任务类型不能为空")
|
||||||
|
private Integer taskType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型(0充点,1按次数,2按点数)
|
||||||
|
*/
|
||||||
|
@Schema(description = "消费类型(0充点,1按次数,2按点数)")
|
||||||
|
@NotNull(message = "消费类型不能为空")
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费判断请求参数(带第三方平台传入的金额)
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/14
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class BillingJudgeWithAmountReq extends BillingJudgeReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预扣减金额(分)- 由第三方平台传入
|
||||||
|
*/
|
||||||
|
@Schema(description = "预扣减金额(分)", example = "100")
|
||||||
|
private Long preDeductAmount;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.NotBlank;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.req.BaseReq;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建或修改计费规则信息
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/11/14
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "创建或修改计费规则信息")
|
||||||
|
public class BillingRuleReq extends BaseReq {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台名称", example = "AI绘画")
|
||||||
|
@NotBlank(message = "平台名称不能为空")
|
||||||
|
private String platformName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "账户类型", example = "图片")
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台ID
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台ID", example = "10000")
|
||||||
|
@NotNull(message = "平台ID不能为空")
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台编码
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台编码", example = "KEXUE_CHAT")
|
||||||
|
private String platformCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扣费编码
|
||||||
|
*/
|
||||||
|
@Schema(description = "扣费编码", example = "C0001")
|
||||||
|
@NotBlank(message = "扣费编码不能为空")
|
||||||
|
private String chargeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "计费类型", example = "1")
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模型名称
|
||||||
|
*/
|
||||||
|
@Schema(description = "模型名称", example = "flux")
|
||||||
|
private String modelName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主账户单价(分/次/整数量)
|
||||||
|
*/
|
||||||
|
@Schema(description = "主账户单价(分/次/整数量)", example = "13")
|
||||||
|
private Long price;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 子账户单价(次/个/数量)
|
||||||
|
*/
|
||||||
|
@Schema(description = "子账户单价(次/个/数量)", example = "1")
|
||||||
|
private Long subAccountPrice;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费单位
|
||||||
|
*/
|
||||||
|
@Schema(description = "计费单位", example = "张")
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
@Schema(description = "备注", example = "")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否启用(0:禁用 1:启用)
|
||||||
|
*/
|
||||||
|
@Schema(description = "是否启用", example = "1")
|
||||||
|
private Integer enabled;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: jia
|
||||||
|
* @Date: 2025/05/26/9:04
|
||||||
|
* @Description:
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(description = "用户消耗点数余额")
|
||||||
|
public class CheckPlantBalanceReq {
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台
|
||||||
|
*/
|
||||||
|
@Schema(description = "平台")
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计费类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "计费类型")
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账号类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型")
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点数
|
||||||
|
*/
|
||||||
|
@Schema(description = "点数")
|
||||||
|
private Long chargePoints;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,70 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户充值消费历史记录创建或修改参数
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/05/23 07:51
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "用户充值消费历史记录创建或修改参数")
|
||||||
|
public class ConsumptionHistoryAddReq implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
@Schema(description = "生成平台")
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务类型(token:0, 图:1,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
@Schema(description = "任务类型(文生:1,图生:2,音效生成:3,参考生视频:4 token:5)")
|
||||||
|
private Integer taskType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点数量
|
||||||
|
*/
|
||||||
|
@Schema(description = "点数量")
|
||||||
|
private Long chargePoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 剩余的点数
|
||||||
|
*/
|
||||||
|
@Schema(description = "剩余的点数")
|
||||||
|
private Long remainingPoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 记录类型(0充点 1 次数 2 点数)
|
||||||
|
*/
|
||||||
|
@Schema(description = "记录类型(0充点 1 次数 2 点数)")
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import top.continew.starter.extension.crud.model.req.BaseReq;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户充值消费历史记录创建或修改参数
|
||||||
|
*
|
||||||
|
* @author jiay
|
||||||
|
* @since 2025/05/23 07:51
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Schema(description = "用户充值消费历史记录创建或修改参数")
|
||||||
|
public class ConsumptionHistoryEditReq extends BaseReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@Schema(description = "id")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生成平台
|
||||||
|
*/
|
||||||
|
@Schema(description = "生成平台")
|
||||||
|
private Long platformId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)
|
||||||
|
*/
|
||||||
|
@Schema(description = "任务类型(token:0, 文生图:1,图生图:2,音效生成:3,参考生视频:4, 白膜贴图:5)")
|
||||||
|
private Integer taskType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点数量
|
||||||
|
*/
|
||||||
|
@Schema(description = "点数量")
|
||||||
|
private Long chargePoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 剩余的点数
|
||||||
|
*/
|
||||||
|
@Schema(description = "剩余的点数")
|
||||||
|
private Long remainingPoints;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 记录类型(0充点 1 次数 2 点数)
|
||||||
|
*/
|
||||||
|
@Schema(description = "记录类型(0充点 1 次数 2 点数)")
|
||||||
|
private Integer chargeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: jia
|
||||||
|
* @Date: 2025/05/26/9:04
|
||||||
|
* @Description:
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(description = "用户消耗点数余额判断参数")
|
||||||
|
public class ConsumptionReq {
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消耗点数量
|
||||||
|
*/
|
||||||
|
@Schema(description = "消耗点数量")
|
||||||
|
private Long chargePoints;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
package top.continew.admin.business.model.req;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import top.continew.starter.extension.crud.model.req.BaseReq;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数字人-文案请求参数对象
|
||||||
|
*
|
||||||
|
* @author 王志维
|
||||||
|
* @since 2025/12/29
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class CopyrightReq extends BaseReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户 ID
|
||||||
|
*/
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文案内容
|
||||||
|
*/
|
||||||
|
private String text;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文案创建日期
|
||||||
|
*/
|
||||||
|
private String createTime;
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue