1
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
package com.ruoyi.jarvis.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* TG 黄牛电话库 jarvis_tg_scalper_phone
|
||||
* TG黄牛电话库(开/慢开前置命中则不走TG,一条可含多个 11 位手机号)
|
||||
*
|
||||
* @author jarvis
|
||||
*/
|
||||
public class TgScalperPhone extends BaseEntity
|
||||
{
|
||||
@@ -14,11 +16,13 @@ public class TgScalperPhone extends BaseEntity
|
||||
|
||||
private Long id;
|
||||
|
||||
/** 11位手机号 */
|
||||
@Excel(name = "手机号")
|
||||
private String phone;
|
||||
/** JSON 数组字符串,如 ["13800138000","13900139000"] */
|
||||
@Excel(name = "手机号数组")
|
||||
private String phones;
|
||||
|
||||
/** 列表查询条件:匹配号码(JSON 数组包含精确匹配,或 phones 文本模糊) */
|
||||
private String phoneQuery;
|
||||
|
||||
/** 命中时直接回复企微的备注 */
|
||||
@Excel(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@@ -26,56 +30,36 @@ public class TgScalperPhone extends BaseEntity
|
||||
@Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
|
||||
private Integer status;
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
public String getPhone()
|
||||
{
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone)
|
||||
{
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Integer getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
public Long getId() { return id; }
|
||||
public void setId(Long id) { this.id = id; }
|
||||
public String getPhones() { return phones; }
|
||||
public void setPhones(String phones) { this.phones = phones; }
|
||||
public String getPhoneQuery() { return phoneQuery; }
|
||||
public void setPhoneQuery(String phoneQuery) { this.phoneQuery = phoneQuery; }
|
||||
public String getRemark() { return remark; }
|
||||
public void setRemark(String remark) { this.remark = remark; }
|
||||
public Integer getStatus() { return status; }
|
||||
public void setStatus(Integer status) { this.status = status; }
|
||||
@Override
|
||||
public Date getCreateTime() { return createTime; }
|
||||
@Override
|
||||
public void setCreateTime(Date createTime) { this.createTime = createTime; }
|
||||
@Override
|
||||
public Date getUpdateTime() { return updateTime; }
|
||||
@Override
|
||||
public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("phone", getPhone())
|
||||
.append("remark", getRemark())
|
||||
.append("status", getStatus())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.toString();
|
||||
return "TgScalperPhone{id=" + id + ", phones=" + phones + ", remark=" + remark + ", status=" + status + "}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user