Commit bad6c6a0 by wangli

新增数据库ORM

1 parent 1c9a69b6
package com.alibaba.cloud.integration.order.dao;
import com.alibaba.cloud.integration.order.entity.OrgTeamEngineer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface OrgTeamEngineerMPDao extends BaseMapper<OrgTeamEngineer> {
}
package com.alibaba.cloud.integration.order.dao;
import com.alibaba.cloud.integration.order.entity.OrgTeam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface OrgTeamMPDao extends BaseMapper<OrgTeam> {
}
package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import java.sql.Time;
import java.sql.Timestamp;
@Data
public class OrgTeam {
private long id;
private String teamId;
private String teamName;
private String teamType;
private String clusterId;
private String branchId;
private String groupId;
private String warehouseId;
private String workdays;
private String memo;
private Timestamp createTime;
private Timestamp updateTime;
}
package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import java.sql.Timestamp;
@Data
public class OrgTeamEngineer {
private long id;
private String teamId;
private String engineerCode;
private Integer status;
private String memo;
private Timestamp createTime;
private Timestamp updateTime;
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!