import { GenericCrudService } from '@d8d/shared-crud';
import { DataSource } from 'typeorm';
import { GoodsCategoryMt } from '../entities/goods-category.entity.mt';

export class GoodsCategoryServiceMt extends GenericCrudService<GoodsCategoryMt> {
  constructor(dataSource: DataSource) {
    super(dataSource, GoodsCategoryMt, {
      userTracking: {
        createdByField: 'createdBy',
        updatedByField: 'updatedBy'
      }
    });
  }
}