zelong.shao

dao|初始化dao层

Showing 47 changed files with 2112 additions and 32 deletions
package com.fedex.connect.common.dao.base;
import com.fedex.connect.common.model.base.DictionaryEntries;
import com.fedex.connect.common.model.base.DictionaryEntriesExample;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
public interface DictionaryEntriesMapper {
long countByExample(DictionaryEntriesExample example);
int deleteByExample(DictionaryEntriesExample example);
int deleteByPrimaryKey(BigDecimal id);
int insert(DictionaryEntries record);
int insertSelective(DictionaryEntries record);
List<DictionaryEntries> selectByExample(DictionaryEntriesExample example);
DictionaryEntries selectByPrimaryKey(BigDecimal id);
int updateByExampleSelective(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example);
int updateByExample(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example);
int updateByPrimaryKeySelective(DictionaryEntries record);
int updateByPrimaryKey(DictionaryEntries record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
package com.fedex.connect.common.dao.base;
import com.fedex.connect.common.model.sys.Dictionary;
import com.fedex.connect.common.model.sys.DictionaryExample;
import com.fedex.connect.common.model.base.Dictionary;
import com.fedex.connect.common.model.base.DictionaryExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
......@@ -10,7 +11,7 @@ public interface DictionaryMapper {
int deleteByExample(DictionaryExample example);
int deleteByPrimaryKey(Long id);
int deleteByPrimaryKey(BigDecimal id);
int insert(Dictionary record);
......@@ -18,7 +19,7 @@ public interface DictionaryMapper {
List<Dictionary> selectByExample(DictionaryExample example);
Dictionary selectByPrimaryKey(Long id);
Dictionary selectByPrimaryKey(BigDecimal id);
int updateByExampleSelective(@Param("record") Dictionary record, @Param("example") DictionaryExample example);
......
package com.fedex.connect.common.dao.base;
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.KafkaStorageHistory;
import com.fedex.connect.common.model.sys.KafkaStorageHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface KafkaStorageHistoryMapper {
long countByExample(KafkaStorageHistoryExample example);
int deleteByExample(KafkaStorageHistoryExample example);
int deleteByPrimaryKey(Long id);
int insert(KafkaStorageHistory record);
int insertSelective(KafkaStorageHistory record);
List<KafkaStorageHistory> selectByExampleWithBLOBs(KafkaStorageHistoryExample example);
List<KafkaStorageHistory> selectByExample(KafkaStorageHistoryExample example);
KafkaStorageHistory selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
int updateByExampleWithBLOBs(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
int updateByExample(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
int updateByPrimaryKeySelective(KafkaStorageHistory record);
int updateByPrimaryKeyWithBLOBs(KafkaStorageHistory record);
int updateByPrimaryKey(KafkaStorageHistory record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.KafkaTemporaryStorage;
import com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface KafkaTemporaryStorageMapper {
long countByExample(KafkaTemporaryStorageExample example);
int deleteByExample(KafkaTemporaryStorageExample example);
int deleteByPrimaryKey(Long id);
int insert(KafkaTemporaryStorage record);
int insertSelective(KafkaTemporaryStorage record);
List<KafkaTemporaryStorage> selectByExampleWithBLOBs(KafkaTemporaryStorageExample example);
List<KafkaTemporaryStorage> selectByExample(KafkaTemporaryStorageExample example);
KafkaTemporaryStorage selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
int updateByExampleWithBLOBs(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
int updateByExample(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
int updateByPrimaryKeySelective(KafkaTemporaryStorage record);
int updateByPrimaryKeyWithBLOBs(KafkaTemporaryStorage record);
int updateByPrimaryKey(KafkaTemporaryStorage record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.ParamConfig;
import com.fedex.connect.common.model.sys.ParamConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface ParamConfigMapper {
long countByExample(ParamConfigExample example);
int deleteByExample(ParamConfigExample example);
int deleteByPrimaryKey(Long id);
int insert(ParamConfig record);
int insertSelective(ParamConfig record);
List<ParamConfig> selectByExample(ParamConfigExample example);
ParamConfig selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") ParamConfig record, @Param("example") ParamConfigExample example);
int updateByExample(@Param("record") ParamConfig record, @Param("example") ParamConfigExample example);
int updateByPrimaryKeySelective(ParamConfig record);
int updateByPrimaryKey(ParamConfig record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.Privilege;
import com.fedex.connect.common.model.sys.PrivilegeExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PrivilegeMapper {
long countByExample(PrivilegeExample example);
int deleteByExample(PrivilegeExample example);
int deleteByPrimaryKey(BigDecimal id);
int insert(Privilege record);
int insertSelective(Privilege record);
List<Privilege> selectByExample(PrivilegeExample example);
Privilege selectByPrimaryKey(BigDecimal id);
int updateByExampleSelective(@Param("record") Privilege record, @Param("example") PrivilegeExample example);
int updateByExample(@Param("record") Privilege record, @Param("example") PrivilegeExample example);
int updateByPrimaryKeySelective(Privilege record);
int updateByPrimaryKey(Privilege record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.Role;
import com.fedex.connect.common.model.sys.RoleExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface RoleMapper {
long countByExample(RoleExample example);
int deleteByExample(RoleExample example);
int deleteByPrimaryKey(BigDecimal id);
int insert(Role record);
int insertSelective(Role record);
List<Role> selectByExample(RoleExample example);
Role selectByPrimaryKey(BigDecimal id);
int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);
int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);
int updateByPrimaryKeySelective(Role record);
int updateByPrimaryKey(Role record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.RolePrivilege;
import com.fedex.connect.common.model.sys.RolePrivilegeExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface RolePrivilegeMapper {
long countByExample(RolePrivilegeExample example);
int deleteByExample(RolePrivilegeExample example);
int deleteByPrimaryKey(BigDecimal id);
int insert(RolePrivilege record);
int insertSelective(RolePrivilege record);
List<RolePrivilege> selectByExample(RolePrivilegeExample example);
RolePrivilege selectByPrimaryKey(BigDecimal id);
int updateByExampleSelective(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example);
int updateByExample(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example);
int updateByPrimaryKeySelective(RolePrivilege record);
int updateByPrimaryKey(RolePrivilege record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.common.model.sys.UserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UserMapper {
long countByExample(UserExample example);
int deleteByExample(UserExample example);
int deleteByPrimaryKey(Long id);
int insert(User record);
int insertSelective(User record);
List<User> selectByExample(UserExample example);
User selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);
int updateByExample(@Param("record") User record, @Param("example") UserExample example);
int updateByPrimaryKeySelective(User record);
int updateByPrimaryKey(User record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.UserRole;
import com.fedex.connect.common.model.sys.UserRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UserRoleMapper {
long countByExample(UserRoleExample example);
int deleteByExample(UserRoleExample example);
int deleteByPrimaryKey(Long id);
int insert(UserRole record);
int insertSelective(UserRole record);
List<UserRole> selectByExample(UserRoleExample example);
UserRole selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UserRole record, @Param("example") UserRoleExample example);
int updateByExample(@Param("record") UserRole record, @Param("example") UserRoleExample example);
int updateByPrimaryKeySelective(UserRole record);
int updateByPrimaryKey(UserRole record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
\ No newline at end of file
package com.fedex.connect.common.mapper.base;
\ No newline at end of file
package com.fedex.connect.common.mapper.sys;
\ No newline at end of file
package com.fedex.connect.common.model.sys;
package com.fedex.connect.common.model.base;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
......@@ -11,7 +12,7 @@ public class Dictionary implements Serializable {
/**
* ID,主键自增
*/
private Long id;
private BigDecimal id;
/**
* 字典编号
......@@ -29,9 +30,9 @@ public class Dictionary implements Serializable {
private String description;
/**
* 状态(0,1)
* 状态(0:无效、1:有效)
*/
private Double status;
private BigDecimal status;
/**
* 上级字典ID
......@@ -39,19 +40,24 @@ public class Dictionary implements Serializable {
private String parentId;
/**
* 扩展字段1
* 扩展字段1,字符串
*/
private String ext1;
/**
* 扩展字段2
* 扩展字段2,字符串
*/
private String ext2;
/**
* 扩展字段3
* 扩展字段3,数字
*/
private String ext3;
private Long ext3;
/**
* 扩展字段4,数字
*/
private Long ext4;
/**
* 创建时间
......@@ -61,7 +67,7 @@ public class Dictionary implements Serializable {
/**
* 创建人ID
*/
private Long createUserId;
private BigDecimal createUserId;
/**
* 创建人名称
......@@ -76,7 +82,7 @@ public class Dictionary implements Serializable {
/**
* 修改人ID
*/
private Long modifyUserId;
private BigDecimal modifyUserId;
/**
* 修改人名称
......@@ -85,11 +91,11 @@ public class Dictionary implements Serializable {
private static final long serialVersionUID = 1L;
public Long getId() {
public BigDecimal getId() {
return id;
}
public void setId(Long id) {
public void setId(BigDecimal id) {
this.id = id;
}
......@@ -117,11 +123,11 @@ public class Dictionary implements Serializable {
this.description = description == null ? null : description.trim();
}
public Double getStatus() {
public BigDecimal getStatus() {
return status;
}
public void setStatus(Double status) {
public void setStatus(BigDecimal status) {
this.status = status;
}
......@@ -149,12 +155,20 @@ public class Dictionary implements Serializable {
this.ext2 = ext2 == null ? null : ext2.trim();
}
public String getExt3() {
public Long getExt3() {
return ext3;
}
public void setExt3(String ext3) {
this.ext3 = ext3 == null ? null : ext3.trim();
public void setExt3(Long ext3) {
this.ext3 = ext3;
}
public Long getExt4() {
return ext4;
}
public void setExt4(Long ext4) {
this.ext4 = ext4;
}
public Date getCreateTime() {
......@@ -165,11 +179,11 @@ public class Dictionary implements Serializable {
this.createTime = createTime;
}
public Long getCreateUserId() {
public BigDecimal getCreateUserId() {
return createUserId;
}
public void setCreateUserId(Long createUserId) {
public void setCreateUserId(BigDecimal createUserId) {
this.createUserId = createUserId;
}
......@@ -189,11 +203,11 @@ public class Dictionary implements Serializable {
this.modifyTime = modifyTime;
}
public Long getModifyUserId() {
public BigDecimal getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(Long modifyUserId) {
public void setModifyUserId(BigDecimal modifyUserId) {
this.modifyUserId = modifyUserId;
}
......@@ -220,6 +234,7 @@ public class Dictionary implements Serializable {
sb.append(", ext1=").append(ext1);
sb.append(", ext2=").append(ext2);
sb.append(", ext3=").append(ext3);
sb.append(", ext4=").append(ext4);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
......
package com.fedex.connect.common.model.base;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* DESC: 字典表
* TABLE: T_BI_DICTIONARY_ENTRIES
*/
public class DictionaryEntries implements Serializable {
/**
* ID,主键自增
*/
private BigDecimal id;
/**
* 字典编号
*/
private String code;
/**
* 字典英文名称
*/
private String englishName;
/**
* 描述
*/
private String description;
/**
* 状态(0:无效、1:有效)
*/
private BigDecimal status;
/**
* 上级字典ID
*/
private BigDecimal parentId;
/**
* 字典目录ID
*/
private BigDecimal dictId;
/**
* 字典目录CODE
*/
private String dictCode;
/**
* 字典排序字段
*/
private BigDecimal ordinal;
/**
* 扩展字段1,字符串
*/
private String ext1;
/**
* 扩展字段2,字符串
*/
private String ext2;
/**
* 扩展字段3,数字
*/
private Long ext3;
/**
* 扩展字段4,数字
*/
private Long ext4;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人ID
*/
private BigDecimal createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID
*/
private BigDecimal modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
private static final long serialVersionUID = 1L;
public BigDecimal getId() {
return id;
}
public void setId(BigDecimal id) {
this.id = id;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code == null ? null : code.trim();
}
public String getEnglishName() {
return englishName;
}
public void setEnglishName(String englishName) {
this.englishName = englishName == null ? null : englishName.trim();
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
public BigDecimal getStatus() {
return status;
}
public void setStatus(BigDecimal status) {
this.status = status;
}
public BigDecimal getParentId() {
return parentId;
}
public void setParentId(BigDecimal parentId) {
this.parentId = parentId;
}
public BigDecimal getDictId() {
return dictId;
}
public void setDictId(BigDecimal dictId) {
this.dictId = dictId;
}
public String getDictCode() {
return dictCode;
}
public void setDictCode(String dictCode) {
this.dictCode = dictCode == null ? null : dictCode.trim();
}
public BigDecimal getOrdinal() {
return ordinal;
}
public void setOrdinal(BigDecimal ordinal) {
this.ordinal = ordinal;
}
public String getExt1() {
return ext1;
}
public void setExt1(String ext1) {
this.ext1 = ext1 == null ? null : ext1.trim();
}
public String getExt2() {
return ext2;
}
public void setExt2(String ext2) {
this.ext2 = ext2 == null ? null : ext2.trim();
}
public Long getExt3() {
return ext3;
}
public void setExt3(Long ext3) {
this.ext3 = ext3;
}
public Long getExt4() {
return ext4;
}
public void setExt4(Long ext4) {
this.ext4 = ext4;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public BigDecimal getCreateUserId() {
return createUserId;
}
public void setCreateUserId(BigDecimal createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public BigDecimal getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(BigDecimal modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", code=").append(code);
sb.append(", englishName=").append(englishName);
sb.append(", description=").append(description);
sb.append(", status=").append(status);
sb.append(", parentId=").append(parentId);
sb.append(", dictId=").append(dictId);
sb.append(", dictCode=").append(dictCode);
sb.append(", ordinal=").append(ordinal);
sb.append(", ext1=").append(ext1);
sb.append(", ext2=").append(ext2);
sb.append(", ext3=").append(ext3);
sb.append(", ext4=").append(ext4);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.base;
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: kafka数据历史表
* TABLE: T_KAFKA_STORAGE_HISTORY
*/
public class KafkaStorageHistory implements Serializable {
/**
* ID,自动增加
*/
private Long id;
/**
* 由发送方定义的序列号,唯一 UUID JSON自动生成
*/
private String messageId;
/**
* 消息代码/类型
*/
private String messageCode;
/**
* 发送程序ID
*/
private String senderId;
/**
* 接受程序ID
*/
private String receiverId;
/**
* DM发送时间
*/
private Date sendTime;
/**
* 运单号
*/
private String consignmentCode;
/**
* 记录处理次数
*/
private Long frequency;
/**
* 数据状态(0:待处理,1:已处理,2:处理失败)
*/
private Long status;
/**
* 备注,记录错误信息
*/
private String remark;
/**
* 系统入库创建时间
*/
private Date createTime;
/**
* 消息体(Json字符串)
*/
private String data;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getMessageId() {
return messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId == null ? null : messageId.trim();
}
public String getMessageCode() {
return messageCode;
}
public void setMessageCode(String messageCode) {
this.messageCode = messageCode == null ? null : messageCode.trim();
}
public String getSenderId() {
return senderId;
}
public void setSenderId(String senderId) {
this.senderId = senderId == null ? null : senderId.trim();
}
public String getReceiverId() {
return receiverId;
}
public void setReceiverId(String receiverId) {
this.receiverId = receiverId == null ? null : receiverId.trim();
}
public Date getSendTime() {
return sendTime;
}
public void setSendTime(Date sendTime) {
this.sendTime = sendTime;
}
public String getConsignmentCode() {
return consignmentCode;
}
public void setConsignmentCode(String consignmentCode) {
this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim();
}
public Long getFrequency() {
return frequency;
}
public void setFrequency(Long frequency) {
this.frequency = frequency;
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getData() {
return data;
}
public void setData(String data) {
this.data = data == null ? null : data.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", messageId=").append(messageId);
sb.append(", messageCode=").append(messageCode);
sb.append(", senderId=").append(senderId);
sb.append(", receiverId=").append(receiverId);
sb.append(", sendTime=").append(sendTime);
sb.append(", consignmentCode=").append(consignmentCode);
sb.append(", frequency=").append(frequency);
sb.append(", status=").append(status);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", data=").append(data);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: kafka数据临时表
* TABLE: T_KAFKA_TEMPORARY_STORAGE
*/
public class KafkaTemporaryStorage implements Serializable {
/**
* ID,自动增加
*/
private Long id;
/**
* 由发送方定义的序列号,唯一 UUID JSON自动生成
*/
private String messageId;
/**
* 消息代码/类型
*/
private String messageCode;
/**
* 发送程序ID
*/
private String senderId;
/**
* 接受程序ID
*/
private String receiverId;
/**
* DM发送时间
*/
private Date sendTime;
/**
* 运单号
*/
private String consignmentCode;
/**
* 记录处理次数
*/
private Long frequency;
/**
* 数据状态(0:待处理,1:已处理,2:处理失败)
*/
private Long status;
/**
* 备注,记录错误信息
*/
private String remark;
/**
* 系统入库创建时间
*/
private Date createTime;
/**
* 消息体(Json字符串)
*/
private String data;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getMessageId() {
return messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId == null ? null : messageId.trim();
}
public String getMessageCode() {
return messageCode;
}
public void setMessageCode(String messageCode) {
this.messageCode = messageCode == null ? null : messageCode.trim();
}
public String getSenderId() {
return senderId;
}
public void setSenderId(String senderId) {
this.senderId = senderId == null ? null : senderId.trim();
}
public String getReceiverId() {
return receiverId;
}
public void setReceiverId(String receiverId) {
this.receiverId = receiverId == null ? null : receiverId.trim();
}
public Date getSendTime() {
return sendTime;
}
public void setSendTime(Date sendTime) {
this.sendTime = sendTime;
}
public String getConsignmentCode() {
return consignmentCode;
}
public void setConsignmentCode(String consignmentCode) {
this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim();
}
public Long getFrequency() {
return frequency;
}
public void setFrequency(Long frequency) {
this.frequency = frequency;
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getData() {
return data;
}
public void setData(String data) {
this.data = data == null ? null : data.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", messageId=").append(messageId);
sb.append(", messageCode=").append(messageCode);
sb.append(", senderId=").append(senderId);
sb.append(", receiverId=").append(receiverId);
sb.append(", sendTime=").append(sendTime);
sb.append(", consignmentCode=").append(consignmentCode);
sb.append(", frequency=").append(frequency);
sb.append(", status=").append(status);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", data=").append(data);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
/**
* DESC: null
* TABLE: T_SYS_PARAM_CONFIG
*/
public class ParamConfig implements Serializable {
/**
* ID自增
*/
private Long id;
/**
* 参数组KEY
*/
private String codeGroup;
/**
* 组中对应不同分区的KEY
*/
private String codeValue;
/**
* 参数值
*/
private String paramValue;
/**
* null
*/
private Long status;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getCodeGroup() {
return codeGroup;
}
public void setCodeGroup(String codeGroup) {
this.codeGroup = codeGroup == null ? null : codeGroup.trim();
}
public String getCodeValue() {
return codeValue;
}
public void setCodeValue(String codeValue) {
this.codeValue = codeValue == null ? null : codeValue.trim();
}
public String getParamValue() {
return paramValue;
}
public void setParamValue(String paramValue) {
this.paramValue = paramValue == null ? null : paramValue.trim();
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", codeGroup=").append(codeGroup);
sb.append(", codeValue=").append(codeValue);
sb.append(", paramValue=").append(paramValue);
sb.append(", status=").append(status);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* DESC: 权限表
* TABLE: T_SYS_PRIVILEGE
*/
public class Privilege implements Serializable {
/**
* ID,主键自增
*/
private BigDecimal id;
/**
* 菜单编号
*/
private String code;
/**
* 菜单名称
*/
private String name;
/**
* 菜单级别(0,1,2)0为最顶级菜单
*/
private BigDecimal rank;
/**
* 父级id
*/
private Long parentId;
/**
* 排序字段
*/
private Long ordinal;
/**
* 菜单对应URL
*/
private String path;
/**
* 菜单类型(自定义)
M:MENU菜单
B:BUTTON 按钮
C:BRANCH 分支
*/
private String menuType;
/**
* 状态(1:有效[true]。0:无效[false]。)
*/
private Long status;
/**
* 图标
*/
private String icon;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人ID
*/
private BigDecimal createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID
*/
private BigDecimal modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
private static final long serialVersionUID = 1L;
public BigDecimal getId() {
return id;
}
public void setId(BigDecimal id) {
this.id = id;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code == null ? null : code.trim();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public BigDecimal getRank() {
return rank;
}
public void setRank(BigDecimal rank) {
this.rank = rank;
}
public Long getParentId() {
return parentId;
}
public void setParentId(Long parentId) {
this.parentId = parentId;
}
public Long getOrdinal() {
return ordinal;
}
public void setOrdinal(Long ordinal) {
this.ordinal = ordinal;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path == null ? null : path.trim();
}
public String getMenuType() {
return menuType;
}
public void setMenuType(String menuType) {
this.menuType = menuType == null ? null : menuType.trim();
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon == null ? null : icon.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public BigDecimal getCreateUserId() {
return createUserId;
}
public void setCreateUserId(BigDecimal createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public BigDecimal getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(BigDecimal modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", code=").append(code);
sb.append(", name=").append(name);
sb.append(", rank=").append(rank);
sb.append(", parentId=").append(parentId);
sb.append(", ordinal=").append(ordinal);
sb.append(", path=").append(path);
sb.append(", menuType=").append(menuType);
sb.append(", status=").append(status);
sb.append(", icon=").append(icon);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* DESC: 角色表
* TABLE: T_SYS_ROLE
*/
public class Role implements Serializable {
/**
* ID,主键自增
*/
private BigDecimal id;
/**
* 角色编号
*/
private String code;
/**
* 角色名称
*/
private String name;
/**
* 角色描述
*/
private String roleDesc;
/**
* 类型ID。
关联数据字典表。指定KEY为:role_type
*/
private BigDecimal typeId;
/**
* 用户类型名称
*/
private String typeName;
/**
* 是否有效(1:有效[true]。0:无效[false]。)
*/
private BigDecimal status;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人ID
*/
private BigDecimal createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID
*/
private BigDecimal modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
private static final long serialVersionUID = 1L;
public BigDecimal getId() {
return id;
}
public void setId(BigDecimal id) {
this.id = id;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code == null ? null : code.trim();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getRoleDesc() {
return roleDesc;
}
public void setRoleDesc(String roleDesc) {
this.roleDesc = roleDesc == null ? null : roleDesc.trim();
}
public BigDecimal getTypeId() {
return typeId;
}
public void setTypeId(BigDecimal typeId) {
this.typeId = typeId;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName == null ? null : typeName.trim();
}
public BigDecimal getStatus() {
return status;
}
public void setStatus(BigDecimal status) {
this.status = status;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public BigDecimal getCreateUserId() {
return createUserId;
}
public void setCreateUserId(BigDecimal createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public BigDecimal getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(BigDecimal modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", code=").append(code);
sb.append(", name=").append(name);
sb.append(", roleDesc=").append(roleDesc);
sb.append(", typeId=").append(typeId);
sb.append(", typeName=").append(typeName);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* DESC: null
* TABLE: T_SYS_ROLE_PRIVILEGE
*/
public class RolePrivilege implements Serializable {
/**
* ID
*/
private BigDecimal id;
/**
* 角色ID
*/
private BigDecimal roleId;
/**
* 权限ID
*/
private BigDecimal privId;
/**
* 是否有效(1:有效[true]。0:无效[false]。)
*/
private BigDecimal status;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人ID
*/
private BigDecimal createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID
*/
private BigDecimal modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
private static final long serialVersionUID = 1L;
public BigDecimal getId() {
return id;
}
public void setId(BigDecimal id) {
this.id = id;
}
public BigDecimal getRoleId() {
return roleId;
}
public void setRoleId(BigDecimal roleId) {
this.roleId = roleId;
}
public BigDecimal getPrivId() {
return privId;
}
public void setPrivId(BigDecimal privId) {
this.privId = privId;
}
public BigDecimal getStatus() {
return status;
}
public void setStatus(BigDecimal status) {
this.status = status;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public BigDecimal getCreateUserId() {
return createUserId;
}
public void setCreateUserId(BigDecimal createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public BigDecimal getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(BigDecimal modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", roleId=").append(roleId);
sb.append(", privId=").append(privId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: 用户表
* TABLE: T_SYS_USER
*/
public class User implements Serializable {
/**
* ID
*/
private Long id;
/**
* 用户账号
*/
private String accNo;
/**
* 姓名
*/
private String userName;
/**
* 密码
*/
private String password;
/**
* FedEx账户
*/
private String fedexAccNo;
/**
* 邮箱
*/
private String email;
/**
* 联系电话
*/
private String phone;
/**
* 公司名称
*/
private String companyName;
/**
* 营利事业统一编号
*/
private String unifiedBusinessNum;
/**
* 海关编号
*/
private String customsSerialNum;
/**
* 创建时间
*/
private Date createTime;
/**
* 修改时间
*/
private Date updateTime;
/**
* 密码上次修改时间
*/
private Date pwdLastUpdTime;
/**
* 用户类型ID。
关联数据字典表。指定KEY为:user_type
*/
private Long typeId;
/**
* 是否有效(1:有效[true]。0:无效[false]。)
*/
private Long status;
/**
* 备注
*/
private String remark;
/**
* 用户信息来源。1:台湾项目注册。2:FCL
*/
private Long userSource;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getAccNo() {
return accNo;
}
public void setAccNo(String accNo) {
this.accNo = accNo == null ? null : accNo.trim();
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName == null ? null : userName.trim();
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password == null ? null : password.trim();
}
public String getFedexAccNo() {
return fedexAccNo;
}
public void setFedexAccNo(String fedexAccNo) {
this.fedexAccNo = fedexAccNo == null ? null : fedexAccNo.trim();
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email == null ? null : email.trim();
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone == null ? null : phone.trim();
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName == null ? null : companyName.trim();
}
public String getUnifiedBusinessNum() {
return unifiedBusinessNum;
}
public void setUnifiedBusinessNum(String unifiedBusinessNum) {
this.unifiedBusinessNum = unifiedBusinessNum == null ? null : unifiedBusinessNum.trim();
}
public String getCustomsSerialNum() {
return customsSerialNum;
}
public void setCustomsSerialNum(String customsSerialNum) {
this.customsSerialNum = customsSerialNum == null ? null : customsSerialNum.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Date getPwdLastUpdTime() {
return pwdLastUpdTime;
}
public void setPwdLastUpdTime(Date pwdLastUpdTime) {
this.pwdLastUpdTime = pwdLastUpdTime;
}
public Long getTypeId() {
return typeId;
}
public void setTypeId(Long typeId) {
this.typeId = typeId;
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public Long getUserSource() {
return userSource;
}
public void setUserSource(Long userSource) {
this.userSource = userSource;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", accNo=").append(accNo);
sb.append(", userName=").append(userName);
sb.append(", password=").append(password);
sb.append(", fedexAccNo=").append(fedexAccNo);
sb.append(", email=").append(email);
sb.append(", phone=").append(phone);
sb.append(", companyName=").append(companyName);
sb.append(", unifiedBusinessNum=").append(unifiedBusinessNum);
sb.append(", customsSerialNum=").append(customsSerialNum);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", pwdLastUpdTime=").append(pwdLastUpdTime);
sb.append(", typeId=").append(typeId);
sb.append(", status=").append(status);
sb.append(", remark=").append(remark);
sb.append(", userSource=").append(userSource);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: 用户角色表
* TABLE: T_SYS_USER_ROLE
*/
public class UserRole implements Serializable {
/**
* ID
*/
private Long id;
/**
* 用户id
*/
private Long userId;
/**
* 角色id
*/
private Long roleId;
/**
* 是否有效(1:有效[true]。0:无效[false]。)
*/
private Long status;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人,对应用户表id
*/
private Long createName;
/**
* 修改时间
*/
private Date updateTime;
/**
* 修改人,对应用户表id
*/
private Long updateName;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Long getCreateName() {
return createName;
}
public void setCreateName(Long createName) {
this.createName = createName;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Long getUpdateName() {
return updateName;
}
public void setUpdateName(Long updateName) {
this.updateName = updateName;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", userId=").append(userId);
sb.append(", roleId=").append(roleId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", createName=").append(createName);
sb.append(", updateTime=").append(updateTime);
sb.append(", updateName=").append(updateName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
\ No newline at end of file