Commit c00475eb authored by Mccoy Z Xia's avatar Mccoy Z Xia

mybatis generator 自动生成相关代码

parent 7c437589
jdbc.driverClass=com.mysql.jdbc.Driver
jdbc.connectionURL=jdbc:mysql://10.157.107.89:3306/entity_mgt?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
jdbc.userId=user_entity
jdbc.password=userEntity@123
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<!-- See: http://www.mybatis.org/generator/configreference/commentGenerator.html -->
<properties resource="calendarGenerator.properties" />
<!-- <classPathEntry location="../hsqldb/hsqldb-2.3.5.jar" /> -->
<context id="contextId" targetRuntime="MyBatis3">
<!-- 考虑需要兼容DB2与ORCAL数据库, 大部份字段不需要加双引号,autoDelimitKeywords设置为false -->
<property name="autoDelimitKeywords" value="true" />
<property name="javaFileEncoding" value="UTF-8" />
<!-- beginningDelimiter和endingDelimiter:指明数据库的用于标记数据库对象名的符号,比如ORACLE就是双引号,MYSQL默认是`反引号; -->
<property name="beginningDelimiter" value="`"/>
<property name="endingDelimiter" value="`"/>
<plugin type="org.mybatis.generator.plugins.MapperAnnotationPlugin" />
<!-- <plugin type="org.mybatis.generator.plugins.RowBoundsPlugin" />-->
<plugin type="org.mybatis.generator.plugins.ToStringPlugin" />
<plugin type="org.mybatis.generator.plugins.SerializablePlugin" />
<commentGenerator>
<property name="suppressDate" value="true" />
<property name="addRemarkComments" value="true" />
</commentGenerator>
<jdbcConnection driverClass="${jdbc.driverClass}" connectionURL="${jdbc.connectionURL}" userId="${jdbc.userId}" password="${jdbc.password}">
</jdbcConnection>
<javaTypeResolver>
<property name="forceBigDecimals" value="false" />
</javaTypeResolver>
<javaModelGenerator targetPackage="pwc.taxtech.atms.calendar.entity" targetProject="../../src/main/java">
<property name="trimStrings" value="true" />
<property name="rootClass" value="pwc.taxtech.atms.entity.BaseEntity"/>
</javaModelGenerator>
<sqlMapGenerator targetPackage="pwc.taxtech.atms.calendar.dao" targetProject="../../src/main/resources">
</sqlMapGenerator>
<javaClientGenerator type="XMLMAPPER" targetPackage="pwc.taxtech.atms.calendar.dao" targetProject="../../src/main/java">
<property name="rootInterface" value="pwc.taxtech.atms.MyMapper" />
</javaClientGenerator>
<table tableName="calendar_action" domainObjectName="CalendarAction">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="calendar_action_jurisdiction_relationship" domainObjectName="CalendarActionJurisdictionRelationship">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="calendar_configuration" domainObjectName="CalendarConfiguration">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="calendar_event" domainObjectName="CalendarEvent">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="calendar_jurisdiction" domainObjectName="CalendarJurisdiction">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="calendar_task_type" domainObjectName="CalendarTaskType">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
rem see http://www.mybatis.org/generator/running/runningFromCmdLine.html
cd /d %~dp0
call java -classpath .;./* org.mybatis.generator.api.ShellRunner -configfile calendarGeneratorConfig.xml -overwrite
echo @@@@@@@@@@@ DONE @@@@@@@@@@@
pause
package pwc.taxtech.atms.calendar.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.calendar.entity.CalendarActionJurisdictionRelationship;
import pwc.taxtech.atms.calendar.entity.CalendarActionJurisdictionRelationshipExample;
@Mapper
public interface CalendarActionJurisdictionRelationshipMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
long countByExample(CalendarActionJurisdictionRelationshipExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int deleteByExample(CalendarActionJurisdictionRelationshipExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int insert(CalendarActionJurisdictionRelationship record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int insertSelective(CalendarActionJurisdictionRelationship record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
List<CalendarActionJurisdictionRelationship> selectByExample(CalendarActionJurisdictionRelationshipExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
CalendarActionJurisdictionRelationship selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") CalendarActionJurisdictionRelationship record, @Param("example") CalendarActionJurisdictionRelationshipExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int updateByExample(@Param("record") CalendarActionJurisdictionRelationship record, @Param("example") CalendarActionJurisdictionRelationshipExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(CalendarActionJurisdictionRelationship record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
int updateByPrimaryKey(CalendarActionJurisdictionRelationship record);
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.calendar.entity.CalendarAction;
import pwc.taxtech.atms.calendar.entity.CalendarActionExample;
@Mapper
public interface CalendarActionMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
long countByExample(CalendarActionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int deleteByExample(CalendarActionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int insert(CalendarAction record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int insertSelective(CalendarAction record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
List<CalendarAction> selectByExample(CalendarActionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
CalendarAction selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") CalendarAction record, @Param("example") CalendarActionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int updateByExample(@Param("record") CalendarAction record, @Param("example") CalendarActionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(CalendarAction record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
int updateByPrimaryKey(CalendarAction record);
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.calendar.entity.CalendarConfiguration;
import pwc.taxtech.atms.calendar.entity.CalendarConfigurationExample;
@Mapper
public interface CalendarConfigurationMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
long countByExample(CalendarConfigurationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int deleteByExample(CalendarConfigurationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int insert(CalendarConfiguration record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int insertSelective(CalendarConfiguration record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
List<CalendarConfiguration> selectByExampleWithBLOBs(CalendarConfigurationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
List<CalendarConfiguration> selectByExample(CalendarConfigurationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
CalendarConfiguration selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") CalendarConfiguration record, @Param("example") CalendarConfigurationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int updateByExampleWithBLOBs(@Param("record") CalendarConfiguration record, @Param("example") CalendarConfigurationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int updateByExample(@Param("record") CalendarConfiguration record, @Param("example") CalendarConfigurationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(CalendarConfiguration record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int updateByPrimaryKeyWithBLOBs(CalendarConfiguration record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_configuration
*
* @mbg.generated
*/
int updateByPrimaryKey(CalendarConfiguration record);
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.calendar.entity.CalendarEvent;
import pwc.taxtech.atms.calendar.entity.CalendarEventExample;
@Mapper
public interface CalendarEventMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
long countByExample(CalendarEventExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int deleteByExample(CalendarEventExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int insert(CalendarEvent record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int insertSelective(CalendarEvent record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
List<CalendarEvent> selectByExampleWithBLOBs(CalendarEventExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
List<CalendarEvent> selectByExample(CalendarEventExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
CalendarEvent selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") CalendarEvent record, @Param("example") CalendarEventExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int updateByExampleWithBLOBs(@Param("record") CalendarEvent record, @Param("example") CalendarEventExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int updateByExample(@Param("record") CalendarEvent record, @Param("example") CalendarEventExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(CalendarEvent record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int updateByPrimaryKeyWithBLOBs(CalendarEvent record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_event
*
* @mbg.generated
*/
int updateByPrimaryKey(CalendarEvent record);
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.calendar.entity.CalendarJurisdiction;
import pwc.taxtech.atms.calendar.entity.CalendarJurisdictionExample;
@Mapper
public interface CalendarJurisdictionMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
long countByExample(CalendarJurisdictionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int deleteByExample(CalendarJurisdictionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int insert(CalendarJurisdiction record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int insertSelective(CalendarJurisdiction record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
List<CalendarJurisdiction> selectByExample(CalendarJurisdictionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
CalendarJurisdiction selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") CalendarJurisdiction record, @Param("example") CalendarJurisdictionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int updateByExample(@Param("record") CalendarJurisdiction record, @Param("example") CalendarJurisdictionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(CalendarJurisdiction record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
int updateByPrimaryKey(CalendarJurisdiction record);
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.calendar.entity.CalendarTaskType;
import pwc.taxtech.atms.calendar.entity.CalendarTaskTypeExample;
@Mapper
public interface CalendarTaskTypeMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
long countByExample(CalendarTaskTypeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int deleteByExample(CalendarTaskTypeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int insert(CalendarTaskType record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int insertSelective(CalendarTaskType record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
List<CalendarTaskType> selectByExample(CalendarTaskTypeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
CalendarTaskType selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") CalendarTaskType record, @Param("example") CalendarTaskTypeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int updateByExample(@Param("record") CalendarTaskType record, @Param("example") CalendarTaskTypeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(CalendarTaskType record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_task_type
*
* @mbg.generated
*/
int updateByPrimaryKey(CalendarTaskType record);
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.entity;
import java.io.Serializable;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table calendar_action
*
* @mbg.generated do_not_delete_during_merge
*/
public class CalendarAction extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action.id
*
* @mbg.generated
*/
private Long id;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action.name
*
* @mbg.generated
*/
private String name;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action.trigger_id
*
* @mbg.generated
*/
private Long triggerId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action.task_type_id
*
* @mbg.generated
*/
private Long taskTypeId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action.status
*
* @mbg.generated
*/
private Byte status;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action.create_time
*
* @mbg.generated
*/
private Date createTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action.update_time
*
* @mbg.generated
*/
private Date updateTime;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table calendar_action
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action.id
*
* @return the value of calendar_action.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action.id
*
* @param id the value for calendar_action.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action.name
*
* @return the value of calendar_action.name
*
* @mbg.generated
*/
public String getName() {
return name;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action.name
*
* @param name the value for calendar_action.name
*
* @mbg.generated
*/
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action.trigger_id
*
* @return the value of calendar_action.trigger_id
*
* @mbg.generated
*/
public Long getTriggerId() {
return triggerId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action.trigger_id
*
* @param triggerId the value for calendar_action.trigger_id
*
* @mbg.generated
*/
public void setTriggerId(Long triggerId) {
this.triggerId = triggerId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action.task_type_id
*
* @return the value of calendar_action.task_type_id
*
* @mbg.generated
*/
public Long getTaskTypeId() {
return taskTypeId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action.task_type_id
*
* @param taskTypeId the value for calendar_action.task_type_id
*
* @mbg.generated
*/
public void setTaskTypeId(Long taskTypeId) {
this.taskTypeId = taskTypeId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action.status
*
* @return the value of calendar_action.status
*
* @mbg.generated
*/
public Byte getStatus() {
return status;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action.status
*
* @param status the value for calendar_action.status
*
* @mbg.generated
*/
public void setStatus(Byte status) {
this.status = status;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action.create_time
*
* @return the value of calendar_action.create_time
*
* @mbg.generated
*/
public Date getCreateTime() {
return createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action.create_time
*
* @param createTime the value for calendar_action.create_time
*
* @mbg.generated
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action.update_time
*
* @return the value of calendar_action.update_time
*
* @mbg.generated
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action.update_time
*
* @param updateTime the value for calendar_action.update_time
*
* @mbg.generated
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action
*
* @mbg.generated
*/
@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(", name=").append(name);
sb.append(", triggerId=").append(triggerId);
sb.append(", taskTypeId=").append(taskTypeId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.entity;
import java.io.Serializable;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated do_not_delete_during_merge
*/
public class CalendarActionJurisdictionRelationship extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action_jurisdiction_relationship.id
*
* @mbg.generated
*/
private Long id;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action_jurisdiction_relationship.action_id
*
* @mbg.generated
*/
private Long actionId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_action_jurisdiction_relationship.jurisdiction_id
*
* @mbg.generated
*/
private Long jurisdictionId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action_jurisdiction_relationship.id
*
* @return the value of calendar_action_jurisdiction_relationship.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action_jurisdiction_relationship.id
*
* @param id the value for calendar_action_jurisdiction_relationship.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action_jurisdiction_relationship.action_id
*
* @return the value of calendar_action_jurisdiction_relationship.action_id
*
* @mbg.generated
*/
public Long getActionId() {
return actionId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action_jurisdiction_relationship.action_id
*
* @param actionId the value for calendar_action_jurisdiction_relationship.action_id
*
* @mbg.generated
*/
public void setActionId(Long actionId) {
this.actionId = actionId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_action_jurisdiction_relationship.jurisdiction_id
*
* @return the value of calendar_action_jurisdiction_relationship.jurisdiction_id
*
* @mbg.generated
*/
public Long getJurisdictionId() {
return jurisdictionId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_action_jurisdiction_relationship.jurisdiction_id
*
* @param jurisdictionId the value for calendar_action_jurisdiction_relationship.jurisdiction_id
*
* @mbg.generated
*/
public void setJurisdictionId(Long jurisdictionId) {
this.jurisdictionId = jurisdictionId;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_action_jurisdiction_relationship
*
* @mbg.generated
*/
@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(", actionId=").append(actionId);
sb.append(", jurisdictionId=").append(jurisdictionId);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.calendar.entity;
import java.io.Serializable;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table calendar_jurisdiction
*
* @mbg.generated do_not_delete_during_merge
*/
public class CalendarJurisdiction extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.id
*
* @mbg.generated
*/
private Long id;
/**
* Database Column Remarks:
* 0:Hong Kong 1:British Virgin Islands 2:Cayman Islands
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.area
*
* @mbg.generated
*/
private Byte area;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.description
*
* @mbg.generated
*/
private String description;
/**
* Database Column Remarks:
* logic数值
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.logic_num
*
* @mbg.generated
*/
private Integer logicNum;
/**
* Database Column Remarks:
* logic单位
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.logic_unit
*
* @mbg.generated
*/
private String logicUnit;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.status
*
* @mbg.generated
*/
private Byte status;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.create_time
*
* @mbg.generated
*/
private Date createTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column calendar_jurisdiction.update_time
*
* @mbg.generated
*/
private Date updateTime;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.id
*
* @return the value of calendar_jurisdiction.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.id
*
* @param id the value for calendar_jurisdiction.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.area
*
* @return the value of calendar_jurisdiction.area
*
* @mbg.generated
*/
public Byte getArea() {
return area;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.area
*
* @param area the value for calendar_jurisdiction.area
*
* @mbg.generated
*/
public void setArea(Byte area) {
this.area = area;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.description
*
* @return the value of calendar_jurisdiction.description
*
* @mbg.generated
*/
public String getDescription() {
return description;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.description
*
* @param description the value for calendar_jurisdiction.description
*
* @mbg.generated
*/
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.logic_num
*
* @return the value of calendar_jurisdiction.logic_num
*
* @mbg.generated
*/
public Integer getLogicNum() {
return logicNum;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.logic_num
*
* @param logicNum the value for calendar_jurisdiction.logic_num
*
* @mbg.generated
*/
public void setLogicNum(Integer logicNum) {
this.logicNum = logicNum;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.logic_unit
*
* @return the value of calendar_jurisdiction.logic_unit
*
* @mbg.generated
*/
public String getLogicUnit() {
return logicUnit;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.logic_unit
*
* @param logicUnit the value for calendar_jurisdiction.logic_unit
*
* @mbg.generated
*/
public void setLogicUnit(String logicUnit) {
this.logicUnit = logicUnit == null ? null : logicUnit.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.status
*
* @return the value of calendar_jurisdiction.status
*
* @mbg.generated
*/
public Byte getStatus() {
return status;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.status
*
* @param status the value for calendar_jurisdiction.status
*
* @mbg.generated
*/
public void setStatus(Byte status) {
this.status = status;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.create_time
*
* @return the value of calendar_jurisdiction.create_time
*
* @mbg.generated
*/
public Date getCreateTime() {
return createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.create_time
*
* @param createTime the value for calendar_jurisdiction.create_time
*
* @mbg.generated
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column calendar_jurisdiction.update_time
*
* @return the value of calendar_jurisdiction.update_time
*
* @mbg.generated
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column calendar_jurisdiction.update_time
*
* @param updateTime the value for calendar_jurisdiction.update_time
*
* @mbg.generated
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table calendar_jurisdiction
*
* @mbg.generated
*/
@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(", area=").append(area);
sb.append(", description=").append(description);
sb.append(", logicNum=").append(logicNum);
sb.append(", logicUnit=").append(logicUnit);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.organization.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.organization.entity.OrganizationAttachment;
import pwc.taxtech.atms.organization.entity.OrganizationAttachmentExample;
import java.util.List;
@Mapper
public interface OrganizationAttachmentMapper extends MyMapper {
/**
......
package pwc.taxtech.atms.organization.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.organization.entity.OrganizationDirector;
import pwc.taxtech.atms.organization.entity.OrganizationDirectorExample;
import java.util.List;
@Mapper
public interface OrganizationDirectorMapper extends MyMapper {
/**
......
package pwc.taxtech.atms.organization.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.organization.entity.OrganizationHK;
import pwc.taxtech.atms.organization.entity.OrganizationHKExample;
import java.util.List;
@Mapper
public interface OrganizationHKMapper extends MyMapper {
/**
......
package pwc.taxtech.atms.organization.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.organization.entity.OrganizationShareholder;
import pwc.taxtech.atms.organization.entity.OrganizationShareholderExample;
import java.util.List;
@Mapper
public interface OrganizationShareholderMapper extends MyMapper {
/**
......
package pwc.taxtech.atms.organization.entity;
import pwc.taxtech.atms.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
......
package pwc.taxtech.atms.organization.entity;
import pwc.taxtech.atms.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
......
package pwc.taxtech.atms.organization.entity;
import pwc.taxtech.atms.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
......
package pwc.taxtech.atms.organization.entity;
import pwc.taxtech.atms.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment