feat:增加商户配置
This commit is contained in:
1 parent
4dd31f6734
commit
ea6f324092
6 files changed
+134
-122
No files matched your search
+77
-77
@@ -8,6 +8,7 @@ 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;
|
||||
import java.time.LocalTime;
|
||||
|
||||
@@ -25,114 +26,113 @@ import java.time.LocalTime;
|
||||
public class MchManageEntity extends Model<MchManageEntity> {
|
||||
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(description="主键")
|
||||
@Schema(description = "主键")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 绑定的部门id - 商户的部门id
|
||||
*/
|
||||
@Schema(description="商户的部门id")
|
||||
/**
|
||||
* 绑定的部门id - 商户的部门id
|
||||
*/
|
||||
@Schema(description = "商户的部门id")
|
||||
private Long deptId;
|
||||
|
||||
/**
|
||||
* 商户名
|
||||
*/
|
||||
@Schema(description="商户名")
|
||||
/**
|
||||
* 默认使用的钱包类型
|
||||
*/
|
||||
@Schema(description = "默认使用的钱包类型")
|
||||
private Long defaultWalletTypeId;
|
||||
|
||||
/**
|
||||
* 商户名
|
||||
*/
|
||||
@Schema(description = "商户名")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 店铺类型,逗号分隔
|
||||
*/
|
||||
@Schema(description="店铺类型,逗号分隔")
|
||||
/**
|
||||
* 店铺类型,逗号分隔
|
||||
*/
|
||||
@Schema(description = "店铺类型,逗号分隔")
|
||||
private String types;
|
||||
|
||||
/**
|
||||
* 商户logo图片
|
||||
*/
|
||||
@Schema(description="商户logo图片")
|
||||
/**
|
||||
* 商户logo图片
|
||||
*/
|
||||
@Schema(description = "商户logo图片")
|
||||
private String logoPic;
|
||||
|
||||
/**
|
||||
* 商户收款码,自动生成
|
||||
*/
|
||||
@Schema(description="商户收款码,自动生成")
|
||||
/**
|
||||
* 商户收款码,自动生成
|
||||
*/
|
||||
@Schema(description = "商户收款码,自动生成")
|
||||
private String collectionCode;
|
||||
|
||||
/**
|
||||
* 商户轮播图,逗号分隔
|
||||
*/
|
||||
@Schema(description="商户轮播图,逗号分隔")
|
||||
/**
|
||||
* 商户轮播图,逗号分隔
|
||||
*/
|
||||
@Schema(description = "商户轮播图,逗号分隔")
|
||||
private String swiperPic;
|
||||
|
||||
/**
|
||||
* 商户手机号
|
||||
*/
|
||||
@Schema(description="商户手机号")
|
||||
/**
|
||||
* 商户手机号
|
||||
*/
|
||||
@Schema(description = "商户手机号")
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 商户开始营业时间
|
||||
*/
|
||||
@Schema(description="商户开始营业时间")
|
||||
@JsonFormat(pattern = DatePattern.NORM_TIME_PATTERN)
|
||||
private LocalTime jobStartTime;
|
||||
/**
|
||||
* 商户营业时间
|
||||
*/
|
||||
@Schema(description = "商户营业时间")
|
||||
private String jobTime;
|
||||
|
||||
/**
|
||||
* 商户结束营业时间
|
||||
*/
|
||||
@Schema(description="商户结束营业时间")
|
||||
@JsonFormat(pattern = DatePattern.NORM_TIME_PATTERN)
|
||||
private LocalTime jobEndTime;
|
||||
|
||||
/**
|
||||
* 商户地址
|
||||
*/
|
||||
@Schema(description="商户地址")
|
||||
/**
|
||||
* 商户地址
|
||||
*/
|
||||
@Schema(description = "商户地址")
|
||||
private String addressDes;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description="创建人")
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "创建人")
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description="创建时间")
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description="修改人")
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description = "修改人")
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description="修改时间")
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description = "修改时间")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description="删除标记")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "删除标记")
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 租户ID
|
||||
*/
|
||||
@Schema(description="租户ID")
|
||||
/**
|
||||
* 租户ID
|
||||
*/
|
||||
@Schema(description = "租户ID")
|
||||
private Long tenantId;
|
||||
}
|
||||
Reference in new issue
Block a user