Interface ActiveRecord<T,​I extends Serializable>

  • Type Parameters:
    T - 实体类类型
    I - 主键类型
    All Superinterfaces:
    io.mybatis.provider.EntityInfoMapper<T>, EntityRecord<T,​I>, ExampleRecord<T,​I>, MapperRecord<T,​I,​BaseMapper<T,​I>>

    public interface ActiveRecord<T,​I extends Serializable>
    extends EntityRecord<T,​I>, ExampleRecord<T,​I>
    建议将继承该抽象类的实现类的作用范围控制在 Service 层,不能超出范围,其它层使用时转换为 VO 或 DTO 后使用
    Author:
    liuzh