Commit dc020f0b by wangli

新增组织相关ORM

1 parent dad6d995
package com.alibaba.cloud.integration.order.dao;
import com.alibaba.cloud.integration.order.entity.OrgBranch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface OrgBranchDao extends BaseMapper<OrgBranch> {
}
package com.alibaba.cloud.integration.order.dao;
import com.alibaba.cloud.integration.order.entity.OrgCluster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface OrgClusterDao extends BaseMapper<OrgCluster> {
}
package com.alibaba.cloud.integration.order.dao;
import com.alibaba.cloud.integration.order.entity.OrgGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface OrgGroupDao extends BaseMapper<OrgGroup> {
}
package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import java.sql.Timestamp;
@Data
public class OrgBranch {
private Integer id;
private String branchId;
private String branchName;
private String clusterId;
private String address;
private String x;
private String y;
private Integer kind;
private String layerId;
private String memo;
private Timestamp createTime;
private Timestamp updateTime;
}
\ No newline at end of file
package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import java.sql.Timestamp;
@Data
public class OrgCluster {
private Integer id;
private String clusterId;
private String name;
private String address;
private String cityName;
private Integer status;
private String updateUser;
private Timestamp createTime;
private Timestamp updateTime;
}
\ No newline at end of file
package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import java.sql.Timestamp;
@Data
public class OrgGroup {
private Integer id;
private String groupId;
private String groupName;
private String clusterId;
private String branchId;
private String address;
private String x;
private String y;
private String cityCode;
private Integer kind;
private Integer category;
private Integer warehouseId;
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!