Create ShoumanRegex to associate multiple regexes to one Shouman category

pull/8040/head
Qiuyi LI 2024-08-01 17:32:54 +02:00
parent 97d8dedd98
commit dcc862b25d
1 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,99 @@
package org.jeecg.modules.business.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* @Description:
* @Author: jeecg-boot
* @Date: 2024-08-01
* @Version: V1.0
*/
@ApiModel(value = "shouman_regex对象", description = "首曼订单内容正则式")
@Data
@TableName("shouman_regex")
public class ShoumanRegex implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
private String id;
/**
*
*/
@ApiModelProperty(value = "创建人")
private String createBy;
/**
*
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private Date createTime;
/**
*
*/
@ApiModelProperty(value = "更新人")
private String updateBy;
/**
*
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private Date updateTime;
/**
* ID
*/
@ApiModelProperty(value = "首曼产品类别ID")
private String shoumanCategoryId;
/**
*
*/
@Excel(name = "定制内容识别正则式", width = 15)
@ApiModelProperty(value = "定制内容识别正则式")
private String contentRecRegex;
/**
*
*/
@Excel(name = "定制内容提取正则式", width = 15)
@ApiModelProperty(value = "定制内容提取正则式")
private String contentExtRegex;
/**
*
*/
@Excel(name = "备注", width = 15)
@ApiModelProperty(value = "备注")
private String comment;
/**
*
*/
@Excel(name = "是否启用", width = 15, dicCode = "yn")
@ApiModelProperty(value = "是否启用")
private String isActive;
/**
*
*/
@Excel(name = "解析后内容前缀", width = 15)
@ApiModelProperty(value = "解析后内容前缀")
private String prefix;
/**
*
*/
@Excel(name = "是否为解析尺寸正则式", width = 15, dicCode = "yn")
@ApiModelProperty(value = "是否为解析尺寸正则式")
private String isSizeRegex;
}