feat:商户分类

This commit is contained in:
dzc committed 2025-04-29 09:50:30 +08:00
1 parent a9682a6830
commit e9f039e1ce
7 files changed
+294

No files matched your search

@@ -0,0 +1,94 @@
package com.bsd.pjcloud.wallet.api.entity.mch;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.bsd.pjcloud.common.core.util.TenantTable;
import java.time.LocalDateTime;
/**
* 商户分类
*/
@Data
@TenantTable
@TableName("mch_catgory")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "商户分类")
public class MchCatgoryEntity extends Model<MchCatgoryEntity> {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@Schema(description="主键")
private Long id;
/**
* 分类名
*/
@Schema(description="分类名")
private String name;
/**
* 分类名类型
*/
@Schema(description="分类名类型")
private String bizType;
/**
* 排序
*/
@Schema(description="排序")
private Integer sort;
/**
* 备注
*/
@Schema(description="备注")
private String remark;
/**
* 创建人
*/
@TableField(fill = FieldFill.INSERT)
@Schema(description="创建人")
private String createBy;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)
@Schema(description="创建时间")
private LocalDateTime createTime;
/**
* 修改人
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
@Schema(description="修改人")
private String updateBy;
/**
* 修改时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
@Schema(description="修改时间")
private LocalDateTime updateTime;
/**
* 删除标记
*/
@TableLogic
@TableField(fill = FieldFill.INSERT)
@Schema(description="删除标记")
private String delFlag;
/**
* 租户ID
*/
@Schema(description="租户ID")
private Long tenantId;
}